server/src/main/webapp/WEB-INF/templates/projectIndex.html
changeset 134 f9716d086744
parent 127 906fed13c1e1
child 136 a822178766ce
--- a/server/src/main/webapp/WEB-INF/templates/projectIndex.html	Thu Apr 04 15:42:08 2013 +0200
+++ b/server/src/main/webapp/WEB-INF/templates/projectIndex.html	Wed Apr 03 22:09:08 2013 +0200
@@ -50,6 +50,7 @@
               <thead>
                 <tr>
                     <th th:text="#{renkanIndex.project_name}">Name</th>
+                    <th th:text="#{renkanIndex.project_updated}">Updated</th>
                     <th th:text="#{renkanIndex.project_creation}">Creation</th>
                     <th th:text="#{renkanIndex.project_edit}">Edit</th>
                     <th th:text="#{renkanIndex.project_copy}">Copy</th>
@@ -60,6 +61,7 @@
               <tbody>
                 <tr th:each="project: ${page}">
                   <th th:text="${project.title}">title</th>
+                  <td th:text="${project.updated}?${#dates.format(project.updated, #messages.msg('date.format'))}:''">update</td>
                   <td th:text="${#dates.format(project.created, #messages.msg('date.format'))}">date</td>
                   <td><a href="#" th:href="@{'/p/'+${project.id}(cowebkey=${project.getKey(2)})}" th:text="#{renkanIndex.project_edit_link}">Edit project</a></td>
                   <td><a href="#" th:text="#{renkanIndex.project_copy_link}" th:attr="data-project_id=${project.id}" class="copy_project">Copy project</a></td>