adds tooltips to versions in nav menu

Fri, 09 Oct 2020 11:55:39 +0200

author
Mike Becker <universe@uap-core.de>
date
Fri, 09 Oct 2020 11:55:39 +0200
changeset 119
9970690a1e42
parent 118
d3583959c875
child 120
5d4c12338fe0

adds tooltips to versions in nav menu

src/main/webapp/WEB-INF/jsp/project-navmenu.jsp file | annotate | diff | comparison | revisions
--- a/src/main/webapp/WEB-INF/jsp/project-navmenu.jsp	Fri Oct 09 11:50:21 2020 +0200
+++ b/src/main/webapp/WEB-INF/jsp/project-navmenu.jsp	Fri Oct 09 11:55:39 2020 +0200
@@ -51,7 +51,8 @@
         </div>
         <c:forEach var="version" items="${viewmodel.projectInfo.versions}">
             <c:set var="isVersionActive" value="${viewmodel.versionFilter eq version}" />
-            <div class="menuEntry level-2" <c:if test="${isVersionActive}">data-active</c:if> >
+            <div class="menuEntry level-2" <c:if test="${isVersionActive}">data-active</c:if>
+                    title="<fmt:message key="version.status.${version.status}" />">
                 <div class="version-icon version-${version.status}"></div>
                 <a href="projects/view?pid=${projectInfo.project.id}&vid=${version.id}">
                     <c:out value="${version.name}"/>

mercurial