adds Edit Version button that replaces the pencil icon

Sun, 21 Jun 2020 12:03:43 +0200

author
Mike Becker <universe@uap-core.de>
date
Sun, 21 Jun 2020 12:03:43 +0200
changeset 91
c3a6c65b3729
parent 90
2c74e36752f9
child 92
b723b31383ac

adds Edit Version button that replaces the pencil icon

src/main/resources/localization/projects.properties file | annotate | diff | comparison | revisions
src/main/resources/localization/projects_de.properties file | annotate | diff | comparison | revisions
src/main/webapp/WEB-INF/jsp/version.jsp file | annotate | diff | comparison | revisions
--- a/src/main/resources/localization/projects.properties	Sun Jun 21 11:56:36 2020 +0200
+++ b/src/main/resources/localization/projects.properties	Sun Jun 21 12:03:43 2020 +0200
@@ -25,6 +25,7 @@
 
 button.create=New Project
 button.version.create=New Version
+button.version.edit=Edit Version
 button.issue.create=New Issue
 button.issue.all=All Issues
 
--- a/src/main/resources/localization/projects_de.properties	Sun Jun 21 11:56:36 2020 +0200
+++ b/src/main/resources/localization/projects_de.properties	Sun Jun 21 12:03:43 2020 +0200
@@ -25,6 +25,7 @@
 
 button.create=Neues Projekt
 button.version.create=Neue Version
+button.version.edit=Version Bearbeiten
 button.issue.create=Neuer Vorgang
 button.issue.all=Alle Vorg\u00e4nge
 
--- a/src/main/webapp/WEB-INF/jsp/version.jsp	Sun Jun 21 11:56:36 2020 +0200
+++ b/src/main/webapp/WEB-INF/jsp/version.jsp	Sun Jun 21 12:03:43 2020 +0200
@@ -37,11 +37,11 @@
 
 <div id="tool-area">
     <a href="./projects/issues/edit?pid=${project.id}" class="button"><fmt:message key="button.issue.create"/></a>
+    <a href="./projects/versions/edit?vid=${version.id}" class="button"><fmt:message key="button.version.edit"/></a>
 </div>
 
 <h2>
 <fmt:message key="version.label" /> <c:out value="${version.name}" /> - <fmt:message key="version.status.${version.status}"/>
-<a href="./projects/versions/edit?vid=${version.id}">&#x270e;</a>
 </h2>
 
 <c:if test="${not empty viewmodel.versionInfo.resolved}">

mercurial