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

changeset 78
bb4c52bf3439
parent 75
33b6843fdf8a
child 80
27a25f32048e
--- a/src/main/webapp/WEB-INF/jsp/project-details.jsp	Sat May 23 13:34:41 2020 +0200
+++ b/src/main/webapp/WEB-INF/jsp/project-details.jsp	Sat May 23 13:52:04 2020 +0200
@@ -25,20 +25,18 @@
 OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 --%>
 <%@page pageEncoding="UTF-8" %>
-<%@page import="de.uapcore.lightpit.Constants" %>
 <%@page import="de.uapcore.lightpit.modules.ProjectsModule" %>
 <%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
 <%@taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
 
-<c:set scope="page" var="moduleInfo" value="${requestScope[Constants.REQ_ATTR_MODULE_INFO]}"/>
 <c:set scope="page" var="selectedProject" value="${sessionScope[ProjectsModule.SESSION_ATTR_SELECTED_PROJECT]}"/>
 
 <jsp:useBean id="versions" type="java.util.List<de.uapcore.lightpit.entities.Version>" scope="request"/>
 <jsp:useBean id="issues" type="java.util.List<de.uapcore.lightpit.entities.Issue>" scope="request"/>
 
 <div id="tool-area">
-    <a href="./${moduleInfo.modulePath}/versions/edit" class="button"><fmt:message key="button.version.create"/></a>
-    <a href="./${moduleInfo.modulePath}/issues/edit" class="button"><fmt:message key="button.issue.create"/></a>
+    <a href="./projects/versions/edit" class="button"><fmt:message key="button.version.create"/></a>
+    <a href="./projects/issues/edit" class="button"><fmt:message key="button.issue.create"/></a>
 </div>
 
 <c:if test="${not empty versions}">
@@ -53,7 +51,7 @@
         <tbody>
         <c:forEach var="version" items="${versions}">
             <tr class="nowrap">
-                <td style="width: 2em;"><a href="./${moduleInfo.modulePath}/versions/edit?id=${version.id}">&#x270e;</a>
+                <td style="width: 2em;"><a href="./projects/versions/edit?id=${version.id}">&#x270e;</a>
                 </td>
                 <td><c:out value="${version.name}"/></td>
                 <td><fmt:message key="version.status.${version.status}"/></td>

mercurial