src/main/webapp/WEB-INF/jsp/versions.jsp

changeset 131
67df332e3146
parent 115
c27638a50c92
child 134
f47e82cd6077
--- a/src/main/webapp/WEB-INF/jsp/versions.jsp	Thu Oct 15 18:36:05 2020 +0200
+++ b/src/main/webapp/WEB-INF/jsp/versions.jsp	Thu Oct 15 20:02:30 2020 +0200
@@ -34,8 +34,8 @@
 <%@include file="../jspf/project-header.jspf"%>
 
 <div id="tool-area">
-    <a href="./projects/versions/edit?vid=-1" class="button"><fmt:message key="button.version.create"/></a>
-    <a href="./projects/issues/edit?pid=${project.id}" class="button"><fmt:message key="button.issue.create"/></a>
+    <a href="./projects/${project.id}/create-version" class="button"><fmt:message key="button.version.create"/></a>
+    <a href="./projects/${project.id}/create-issue" class="button"><fmt:message key="button.issue.create"/></a>
 </div>
 
 <h2><fmt:message key="progress" /></h2>
@@ -78,9 +78,9 @@
     <tbody>
         <c:forEach var="versionInfo" items="${viewmodel.versionInfo}" >
         <tr>
-            <td rowspan="2" style="width: 2em;"><a href="./projects/versions/edit?vid=${versionInfo.version.id}">&#x270e;</a></td>
+            <td rowspan="2" style="width: 2em;"><a href="./projects/${project.id}/versions/${versionInfo.version.id}/edit">&#x270e;</a></td>
             <td rowspan="2">
-                <a href="projects/view?pid=${viewmodel.projectInfo.project.id}&vid=${versionInfo.version.id}">
+                <a href="./projects/${project.id}/versions/${versionInfo.version.id}">
                     <c:out value="${versionInfo.version.name}"/>
                 </a>
                 <div class="version-tag version-${versionInfo.version.status}">

mercurial