src/main/webapp/WEB-INF/jspf/sort-box.jspf

Wed, 07 Aug 2024 18:11:24 +0200

author
Mike Becker <universe@uap-core.de>
date
Wed, 07 Aug 2024 18:11:24 +0200
changeset 319
900ecf43f791
parent 271
f8f5e82944fa
permissions
-rw-r--r--

add support for resolve[sd]? in commit references - fixes #409

86
0a658e53177c improves issue overview and adds progress information
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1 <%--
271
f8f5e82944fa #15 add sort options
Mike Becker <universe@uap-core.de>
parents: 270
diff changeset
2 Page attribute:
f8f5e82944fa #15 add sort options
Mike Becker <universe@uap-core.de>
parents: 270
diff changeset
3 sortPriority: String
f8f5e82944fa #15 add sort options
Mike Becker <universe@uap-core.de>
parents: 270
diff changeset
4 currentSort: IssueSorter.Criteria
86
0a658e53177c improves issue overview and adds progress information
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5 --%>
271
f8f5e82944fa #15 add sort options
Mike Becker <universe@uap-core.de>
parents: 270
diff changeset
6 <div style="display: inline-block">
f8f5e82944fa #15 add sort options
Mike Becker <universe@uap-core.de>
parents: 270
diff changeset
7 <label class="caption" style="display:block;" for="sort_${sortPriority}"><fmt:message key="issue.filter.sort.${sortPriority}"/></label>
f8f5e82944fa #15 add sort options
Mike Becker <universe@uap-core.de>
parents: 270
diff changeset
8 <select id="sort_${sortPriority}" name="sort_${sortPriority}">
f8f5e82944fa #15 add sort options
Mike Becker <universe@uap-core.de>
parents: 270
diff changeset
9 <c:forEach var="criteria" items="${viewmodel.filter.sortCriteria}">
f8f5e82944fa #15 add sort options
Mike Becker <universe@uap-core.de>
parents: 270
diff changeset
10 <option value="${criteria}" <c:if test="${currentSort eq criteria}">selected</c:if> >
f8f5e82944fa #15 add sort options
Mike Becker <universe@uap-core.de>
parents: 270
diff changeset
11 <fmt:message key="${criteria.field.resourceKey}"/>
f8f5e82944fa #15 add sort options
Mike Becker <universe@uap-core.de>
parents: 270
diff changeset
12 <c:if test="${criteria.asc}">&uarr;</c:if>
f8f5e82944fa #15 add sort options
Mike Becker <universe@uap-core.de>
parents: 270
diff changeset
13 <c:if test="${not criteria.asc}">&darr;</c:if>
f8f5e82944fa #15 add sort options
Mike Becker <universe@uap-core.de>
parents: 270
diff changeset
14 </option>
f8f5e82944fa #15 add sort options
Mike Becker <universe@uap-core.de>
parents: 270
diff changeset
15 </c:forEach>
f8f5e82944fa #15 add sort options
Mike Becker <universe@uap-core.de>
parents: 270
diff changeset
16 </select>
f8f5e82944fa #15 add sort options
Mike Becker <universe@uap-core.de>
parents: 270
diff changeset
17 </div>

mercurial