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

changeset 78
bb4c52bf3439
parent 74
91d1fc2a3a14
child 82
4ec7f2600c83
--- a/src/main/webapp/WEB-INF/jsp/users.jsp	Sat May 23 13:34:41 2020 +0200
+++ b/src/main/webapp/WEB-INF/jsp/users.jsp	Sat May 23 13:52:04 2020 +0200
@@ -25,12 +25,9 @@
 OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 --%>
 <%@page pageEncoding="UTF-8" %>
-<%@page import="de.uapcore.lightpit.Constants" %>
 <%@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]}"/>
-
 <jsp:useBean id="users" type="java.util.List<de.uapcore.lightpit.entities.User>" scope="request"/>
 
 <c:if test="${empty users}">
@@ -40,7 +37,7 @@
 </c:if>
 
 <div id="tool-area">
-    <a href="./${moduleInfo.modulePath}/edit" class="button"><fmt:message key="button.create"/></a>
+    <a href="./teams/edit" class="button"><fmt:message key="button.create"/></a>
 </div>
 
 <c:if test="${not empty users}">
@@ -54,7 +51,7 @@
         <tbody>
         <c:forEach var="user" items="${users}">
             <tr>
-                <td><a href="./${moduleInfo.modulePath}/edit?id=${user.id}">&#x270e;</a></td>
+                <td><a href="./teams/edit?id=${user.id}">&#x270e;</a></td>
                 <td><c:out value="${user.displayname}"/></td>
             </tr>
         </c:forEach>

mercurial