src/main/webapp/WEB-INF/jspf/issue-list.jspf

changeset 399
0b59551086f4
parent 352
6b2caaf2c73d
equal deleted inserted replaced
398:384a98f0220d 399:0b59551086f4
1 <%-- 1 <%--
2 issues: List<Issue> 2 issues: List<Issue>
3 issuesHref: String 3 issuesHref: String
4 openIssuesInTabs: boolean
5 showCheckbox: boolean
4 showComponentInfo: boolean 6 showComponentInfo: boolean
5 showVersionInfo: boolean 7 showVersionInfo: boolean
6 showVariantInfo: boolean 8 showVariantInfo: boolean
7 showProjectInfo: boolean 9 showProjectInfo: boolean
8 --%> 10 --%>
9 <table class="fullwidth datatable medskip"> 11 <table class="fullwidth datatable medskip">
10 <colgroup> 12 <colgroup>
13 <c:if test="${showCheckbox}">
14 <col style="width: 3ex" />
15 </c:if>
11 <c:if test="${showProjectInfo}"> 16 <c:if test="${showProjectInfo}">
12 <col style="width: 10%" /> 17 <col style="width: 10%" />
13 </c:if> 18 </c:if>
14 <col style="width: auto" /> 19 <col style="width: auto" />
15 <col style="width: 10%" /> 20 <col style="width: 10%" />
16 <col style="width: 10%" /> 21 <col style="width: 10%" />
17 <col style="width: 10%" /> 22 <col style="width: 10%" />
18 </colgroup> 23 </colgroup>
19 <thead> 24 <thead>
20 <tr> 25 <tr>
26 <c:if test="${showCheckbox}">
27 <th></th>
28 </c:if>
21 <c:if test="${showProjectInfo}"> 29 <c:if test="${showProjectInfo}">
22 <th><fmt:message key="project"/></th> 30 <th><fmt:message key="project"/></th>
23 </c:if> 31 </c:if>
24 <th><fmt:message key="issue.subject"/></th> 32 <th><fmt:message key="issue.subject"/></th>
25 <th><fmt:message key="issue.eta"/></th> 33 <th><fmt:message key="issue.eta"/></th>
28 </tr> 36 </tr>
29 </thead> 37 </thead>
30 <tbody> 38 <tbody>
31 <c:forEach var="issue" items="${issues}"> 39 <c:forEach var="issue" items="${issues}">
32 <tr> 40 <tr>
41 <c:if test="${showCheckbox}">
42 <td>
43 <input type="checkbox" name="issueIds" value="${issue.id}" />
44 </td>
45 </c:if>
33 <c:if test="${showProjectInfo}"> 46 <c:if test="${showProjectInfo}">
34 <td> 47 <td>
35 <a href="./projects/${issue.project.node}"> 48 <a href="./projects/${issue.project.node}">
36 <c:out value="${issue.project.name}"/> 49 <c:out value="${issue.project.name}"/>
37 </a> 50 </a>
38 </td> 51 </td>
39 </c:if> 52 </c:if>
40 <td> 53 <td>
41 <span class="phase-${issue.status.phase.number}"> 54 <span class="phase-${issue.status.phase.number}">
42 <a href="${issuesHref}${issue.id}"> 55 <a href="${issuesHref}${issue.id}" <c:if test="${openIssuesInTabs}">target="_blank"</c:if> >
43 #${issue.id}&nbsp;-&nbsp;<c:out value="${issue.subject}" /> 56 #${issue.id}&nbsp;-&nbsp;<c:out value="${issue.subject}" />
44 </a> 57 </a>
45 </span> 58 </span>
46 <div style="display: inline-block; width: .25em"></div> 59 <div style="display: inline-block; width: .25em"></div>
47 <div class="issue-tag ${issue.category}"> 60 <div class="issue-tag ${issue.category}">

mercurial