server/src/main/webapp/WEB-INF/templates/projectIndex.html
changeset 80 5295e118320b
parent 76 523f0647513e
child 81 555a094e2000
--- a/server/src/main/webapp/WEB-INF/templates/projectIndex.html	Thu Mar 14 13:48:35 2013 +0100
+++ b/server/src/main/webapp/WEB-INF/templates/projectIndex.html	Fri Mar 15 10:38:05 2013 +0100
@@ -140,14 +140,18 @@
             <table>
               <thead>
                 <tr>
-                    <th th:text="#{renkanIndex.project_name}">Name</th><th th:text="#{renkanIndex.project_creation}">Creation</th><th th:text="#{renkanIndex.project_edit}">Edit</th>
+                    <th th:text="#{renkanIndex.project_name}">Name</th>
+                    <th th:text="#{renkanIndex.project_creation}">Creation</th>
+                    <th th:text="#{renkanIndex.project_edit}">Edit</th>
+                    <th th:text="#{renkanIndex.project_render}">render</th>
                 </tr>
               </thead>
               <tbody>
                 <tr th:each="project: ${page}">
                   <th th:text="${project.title}">title</th>
                   <td th:text="${#dates.format(project.created, #messages.msg('date.format'))}">date</td>
-                  <td><a href="#" th:href="@{'/p/'+${project.id}(cowebkey=${project.key})}" th:text="#{renkanIndex.project_edit_link}">Edit projet</a></td>
+                  <td><a href="#" th:href="@{'/p/'+${project.id}(cowebkey=${project.getKey(2)})}" th:text="#{renkanIndex.project_edit_link}">Edit projet</a></td>
+                  <td><a href="#" th:href="@{'/p/pub/'+${project.id}(cowebkey=${project.getKey(1)})}" th:text="#{renkanIndex.project_render_link}">Render projet</a></td>
                 </tr>
               </tbody>
             </table>