src/main/webapp/WEB-INF/jsp/projects.jsp

changeset 131
67df332e3146
parent 117
874ff787949b
child 132
57e5a4624919
equal deleted inserted replaced
130:7ef369744fd1 131:67df332e3146
35 <fmt:message key="no-projects"/> 35 <fmt:message key="no-projects"/>
36 </div> 36 </div>
37 </c:if> 37 </c:if>
38 38
39 <div id="tool-area"> 39 <div id="tool-area">
40 <a href="./projects/edit?pid=-1" class="button"><fmt:message key="button.create"/></a> 40 <a href="./projects/create" class="button"><fmt:message key="button.create"/></a>
41 </div> 41 </div>
42 42
43 <c:if test="${not empty viewmodel.projectList}"> 43 <c:if test="${not empty viewmodel.projectList}">
44 <table id="project-list" class="datatable medskip"> 44 <table id="project-list" class="datatable medskip">
45 <colgroup> 45 <colgroup>
66 </thead> 66 </thead>
67 <tbody> 67 <tbody>
68 <c:forEach var="projectInfo" items="${viewmodel.projectList}"> 68 <c:forEach var="projectInfo" items="${viewmodel.projectList}">
69 <c:set var="project" scope="page" value="${projectInfo.project}"/> 69 <c:set var="project" scope="page" value="${projectInfo.project}"/>
70 <tr class="nowrap"> 70 <tr class="nowrap">
71 <td style="width: 2em;"><a href="./projects/edit?pid=${project.id}">&#x270e;</a></td> 71 <td style="width: 2em;"><a href="./projects/${project.id}/edit">&#x270e;</a></td>
72 <td><a href="./projects/versions?pid=${project.id}"><c:out value="${project.name}"/></a> 72 <td><a href="./projects/${project.id}/versions/"><c:out value="${project.name}"/></a>
73 </td> 73 </td>
74 <td> 74 <td>
75 <c:if test="${not empty project.repoUrl}"> 75 <c:if test="${not empty project.repoUrl}">
76 <a target="_blank" href="<c:out value="${project.repoUrl}"/>"><c:out 76 <a target="_blank" href="<c:out value="${project.repoUrl}"/>"><c:out
77 value="${project.repoUrl}"/></a> 77 value="${project.repoUrl}"/></a>
78 </c:if> 78 </c:if>
79 </td> 79 </td>
80 <td class="hright"> 80 <td class="hright">
81 <c:if test="${not empty projectInfo.latestVersion}"> 81 <c:if test="${not empty projectInfo.latestVersion}">
82 <a href="./projects/view?pid=${project.id}&vid=${projectInfo.latestVersion.id}"><c:out value="${projectInfo.latestVersion.name}"/></a> 82 <a href="./projects/${project.id}/versions/${projectInfo.latestVersion.id}/"><c:out value="${projectInfo.latestVersion.name}"/></a>
83 </c:if> 83 </c:if>
84 </td> 84 </td>
85 <td class="hright"> 85 <td class="hright">
86 <c:if test="${not empty projectInfo.nextVersion}"> 86 <c:if test="${not empty projectInfo.nextVersion}">
87 <a href="./projects/view?pid=${project.id}&vid=${projectInfo.nextVersion.id}"><c:out value="${projectInfo.nextVersion.name}"/></a> 87 <a href="./projects/${project.id}/versions/${projectInfo.nextVersion.id}/"><c:out value="${projectInfo.nextVersion.name}"/></a>
88 </c:if> 88 </c:if>
89 </td> 89 </td>
90 <td class="hright">${projectInfo.issueSummary.open}</td> 90 <td class="hright">${projectInfo.issueSummary.open}</td>
91 <td class="hright">${projectInfo.issueSummary.active}</td> 91 <td class="hright">${projectInfo.issueSummary.active}</td>
92 <td class="hright">${projectInfo.issueSummary.done}</td> 92 <td class="hright">${projectInfo.issueSummary.done}</td>

mercurial