src/main/webapp/WEB-INF/dynamic_fragments/project-details.jsp

changeset 72
0646c14e36fb
parent 70
821c4950b619
--- a/src/main/webapp/WEB-INF/dynamic_fragments/project-details.jsp	Fri May 22 16:21:31 2020 +0200
+++ b/src/main/webapp/WEB-INF/dynamic_fragments/project-details.jsp	Fri May 22 16:21:59 2020 +0200
@@ -37,41 +37,42 @@
 <jsp:useBean id="issues" type="java.util.List<de.uapcore.lightpit.entities.Issue>" scope="request"/>
 
 <div id="tool-area">
-    <a href="./${moduleInfo.modulePath}/versions/edit" class="button"><fmt:message key="button.version.create" /></a>
-    <a href="./${moduleInfo.modulePath}/issues/edit" class="button"><fmt:message key="button.issue.create" /></a>
+    <a href="./${moduleInfo.modulePath}/versions/edit" class="button"><fmt:message key="button.version.create"/></a>
+    <a href="./${moduleInfo.modulePath}/issues/edit" class="button"><fmt:message key="button.issue.create"/></a>
 </div>
 
 <c:if test="${not empty versions}">
-<table id="version-list" class="datatable medskip">
-    <thead>
-    <tr>
-        <th></th>
-        <th><fmt:message key="thead.version.name"/></th>
-        <th><fmt:message key="thead.version.status"/></th>
-    </tr>
-    </thead>
-    <tbody>
-    <c:forEach var="version" items="${versions}">
-        <tr class="nowrap" >
-            <td style="width: 2em;"><a href="./${moduleInfo.modulePath}/versions/edit?id=${version.id}">&#x270e;</a></td>
-            <td><c:out value="${version.name}"/></td>
-            <td><fmt:message key="version.status.${version.status}" /></td>
+    <table id="version-list" class="datatable medskip">
+        <thead>
+        <tr>
+            <th></th>
+            <th><fmt:message key="thead.version.name"/></th>
+            <th><fmt:message key="thead.version.status"/></th>
         </tr>
-    </c:forEach>
-    </tbody>
-</table>
+        </thead>
+        <tbody>
+        <c:forEach var="version" items="${versions}">
+            <tr class="nowrap">
+                <td style="width: 2em;"><a href="./${moduleInfo.modulePath}/versions/edit?id=${version.id}">&#x270e;</a>
+                </td>
+                <td><c:out value="${version.name}"/></td>
+                <td><fmt:message key="version.status.${version.status}"/></td>
+            </tr>
+        </c:forEach>
+        </tbody>
+    </table>
 </c:if>
 
 <table id="issue-list" class="datatable medskip">
     <thead>
     <tr>
         <th></th>
-        <th><fmt:message key="thead.issue.subject" /></th>
-        <th><fmt:message key="thead.issue.category" /></th>
-        <th><fmt:message key="thead.issue.status" /></th>
-        <th><fmt:message key="thead.issue.created" /></th>
-        <th><fmt:message key="thead.issue.updated" /></th>
-        <th><fmt:message key="thead.issue.eta" /></th>
+        <th><fmt:message key="thead.issue.subject"/></th>
+        <th><fmt:message key="thead.issue.category"/></th>
+        <th><fmt:message key="thead.issue.status"/></th>
+        <th><fmt:message key="thead.issue.created"/></th>
+        <th><fmt:message key="thead.issue.updated"/></th>
+        <th><fmt:message key="thead.issue.eta"/></th>
         <!-- TODO: add other information -->
     </tr>
     </thead>

mercurial