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

Wed, 07 Aug 2024 18:43:15 +0200

author
Mike Becker <universe@uap-core.de>
date
Wed, 07 Aug 2024 18:43:15 +0200
changeset 321
fe73f02d86dc
parent 271
f8f5e82944fa
permissions
-rw-r--r--

fix regression for issue #404

where a partially loaded project
object was insufficient to render
the issue view

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