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

changeset 72
0646c14e36fb
parent 70
821c4950b619
     1.1 --- a/src/main/webapp/WEB-INF/dynamic_fragments/project-details.jsp	Fri May 22 16:21:31 2020 +0200
     1.2 +++ b/src/main/webapp/WEB-INF/dynamic_fragments/project-details.jsp	Fri May 22 16:21:59 2020 +0200
     1.3 @@ -37,41 +37,42 @@
     1.4  <jsp:useBean id="issues" type="java.util.List<de.uapcore.lightpit.entities.Issue>" scope="request"/>
     1.5  
     1.6  <div id="tool-area">
     1.7 -    <a href="./${moduleInfo.modulePath}/versions/edit" class="button"><fmt:message key="button.version.create" /></a>
     1.8 -    <a href="./${moduleInfo.modulePath}/issues/edit" class="button"><fmt:message key="button.issue.create" /></a>
     1.9 +    <a href="./${moduleInfo.modulePath}/versions/edit" class="button"><fmt:message key="button.version.create"/></a>
    1.10 +    <a href="./${moduleInfo.modulePath}/issues/edit" class="button"><fmt:message key="button.issue.create"/></a>
    1.11  </div>
    1.12  
    1.13  <c:if test="${not empty versions}">
    1.14 -<table id="version-list" class="datatable medskip">
    1.15 -    <thead>
    1.16 -    <tr>
    1.17 -        <th></th>
    1.18 -        <th><fmt:message key="thead.version.name"/></th>
    1.19 -        <th><fmt:message key="thead.version.status"/></th>
    1.20 -    </tr>
    1.21 -    </thead>
    1.22 -    <tbody>
    1.23 -    <c:forEach var="version" items="${versions}">
    1.24 -        <tr class="nowrap" >
    1.25 -            <td style="width: 2em;"><a href="./${moduleInfo.modulePath}/versions/edit?id=${version.id}">&#x270e;</a></td>
    1.26 -            <td><c:out value="${version.name}"/></td>
    1.27 -            <td><fmt:message key="version.status.${version.status}" /></td>
    1.28 +    <table id="version-list" class="datatable medskip">
    1.29 +        <thead>
    1.30 +        <tr>
    1.31 +            <th></th>
    1.32 +            <th><fmt:message key="thead.version.name"/></th>
    1.33 +            <th><fmt:message key="thead.version.status"/></th>
    1.34          </tr>
    1.35 -    </c:forEach>
    1.36 -    </tbody>
    1.37 -</table>
    1.38 +        </thead>
    1.39 +        <tbody>
    1.40 +        <c:forEach var="version" items="${versions}">
    1.41 +            <tr class="nowrap">
    1.42 +                <td style="width: 2em;"><a href="./${moduleInfo.modulePath}/versions/edit?id=${version.id}">&#x270e;</a>
    1.43 +                </td>
    1.44 +                <td><c:out value="${version.name}"/></td>
    1.45 +                <td><fmt:message key="version.status.${version.status}"/></td>
    1.46 +            </tr>
    1.47 +        </c:forEach>
    1.48 +        </tbody>
    1.49 +    </table>
    1.50  </c:if>
    1.51  
    1.52  <table id="issue-list" class="datatable medskip">
    1.53      <thead>
    1.54      <tr>
    1.55          <th></th>
    1.56 -        <th><fmt:message key="thead.issue.subject" /></th>
    1.57 -        <th><fmt:message key="thead.issue.category" /></th>
    1.58 -        <th><fmt:message key="thead.issue.status" /></th>
    1.59 -        <th><fmt:message key="thead.issue.created" /></th>
    1.60 -        <th><fmt:message key="thead.issue.updated" /></th>
    1.61 -        <th><fmt:message key="thead.issue.eta" /></th>
    1.62 +        <th><fmt:message key="thead.issue.subject"/></th>
    1.63 +        <th><fmt:message key="thead.issue.category"/></th>
    1.64 +        <th><fmt:message key="thead.issue.status"/></th>
    1.65 +        <th><fmt:message key="thead.issue.created"/></th>
    1.66 +        <th><fmt:message key="thead.issue.updated"/></th>
    1.67 +        <th><fmt:message key="thead.issue.eta"/></th>
    1.68          <!-- TODO: add other information -->
    1.69      </tr>
    1.70      </thead>

mercurial