src/main/webapp/WEB-INF/jsp/project-navmenu.jsp

changeset 129
a09d5c59351a
parent 119
9970690a1e42
child 131
67df332e3146
equal deleted inserted replaced
128:947d0f6a6a83 129:a09d5c59351a
36 <a href="projects/versions?pid=${projectInfo.project.id}"> 36 <a href="projects/versions?pid=${projectInfo.project.id}">
37 <c:out value="${projectInfo.project.name}"/> 37 <c:out value="${projectInfo.project.name}"/>
38 </a> 38 </a>
39 </div> 39 </div>
40 <c:if test="${isActive}"> 40 <c:if test="${isActive}">
41 <!-- VERSIONS -->
41 <div class="menuEntry level-1"> 42 <div class="menuEntry level-1">
42 <a href="projects/versions?pid=${projectInfo.project.id}"> 43 <a href="projects/versions?pid=${projectInfo.project.id}">
43 <fmt:message key="menu.versions"/> 44 <fmt:message key="navmenu.versions"/>
44 </a> 45 </a>
45 </div> 46 </div>
46 <div class="menuEntry level-2"> 47 <div class="menuEntry level-2">
47 <div class="version-icon" style="background: black"></div> 48 <div class="navmenu-icon" style="background: black"></div>
48 <a href="projects/view?pid=${projectInfo.project.id}&vid=-1"> 49 <a href="projects/view?pid=${projectInfo.project.id}&vid=-1">
49 <fmt:message key="menu.versions.unassigned" /> 50 <fmt:message key="navmenu.unassigned" />
50 </a> 51 </a>
51 </div> 52 </div>
52 <c:forEach var="version" items="${viewmodel.projectInfo.versions}"> 53 <c:forEach var="version" items="${viewmodel.projectInfo.versions}">
53 <c:set var="isVersionActive" value="${viewmodel.versionFilter eq version}" /> 54 <c:set var="isVersionActive" value="${viewmodel.versionFilter eq version}" />
54 <div class="menuEntry level-2" <c:if test="${isVersionActive}">data-active</c:if> 55 <div class="menuEntry level-2" <c:if test="${isVersionActive}">data-active</c:if>
55 title="<fmt:message key="version.status.${version.status}" />"> 56 title="<fmt:message key="version.status.${version.status}" />">
56 <div class="version-icon version-${version.status}"></div> 57 <div class="navmenu-icon version-${version.status}"></div>
57 <a href="projects/view?pid=${projectInfo.project.id}&vid=${version.id}"> 58 <a href="projects/view?pid=${projectInfo.project.id}&vid=${version.id}">
58 <c:out value="${version.name}"/> 59 <c:out value="${version.name}"/>
59 </a> 60 </a>
60 </div> 61 </div>
61 </c:forEach> 62 </c:forEach>
63 <!-- COMPONENTS -->
64 <div class="menuEntry level-1">
65 <a href="projects/components?pid=${projectInfo.project.id}">
66 <fmt:message key="navmenu.components"/>
67 </a>
68 </div>
69 <div class="menuEntry level-2">
70 <div class="navmenu-icon" style="background: black"></div>
71 <a href="projects/view?pid=${projectInfo.project.id}&cid=0">
72 <fmt:message key="navmenu.all" />
73 </a>
74 </div>
75 <div class="menuEntry level-2">
76 <div class="navmenu-icon" style="background: black"></div>
77 <a href="projects/view?pid=${projectInfo.project.id}&cid=-1">
78 <fmt:message key="navmenu.unassigned" />
79 </a>
80 </div>
81 <c:forEach var="component" items="${viewmodel.projectInfo.components}">
82 <c:set var="isComponentActive" value="${viewmodel.componentFilter eq component}" />
83 <div class="menuEntry level-2" <c:if test="${isVersionActive}">data-active</c:if> >
84 <div class="navmenu-icon" style="background-color: ${component.color}"></div>
85 <a href="projects/view?pid=${projectInfo.project.id}&cid=${component.id}">
86 <c:out value="${component.name}"/>
87 </a>
88 </div>
89 </c:forEach>
62 </c:if> 90 </c:if>
63 </c:forEach> 91 </c:forEach>

mercurial