„src/main/webapp/groups.jsp“ ändern

adjusted list display - link in group name - separated name from login name -
This commit is contained in:
Michael Dollinger 2021-01-21 18:01:01 +01:00
parent 817232f2b7
commit ee4b025c6e

View File

@ -17,18 +17,23 @@
<tr><th><fmt:message key="groups.column.name"/></th><th><fmt:message key="groups.column.members"/></th><th><fmt:message key="groups.column.operations"/></th></tr>
<c:forEach items="${groups}" var="groupentry">
<tr>
<td>${groupentry.value.name}</td>
<c:url var="updgroupurl" value="/group/${groupentry.key}?op=edit" />
<td><a href="${updgroupurl}">${groupentry.value.name}</a></td>
<td>
<ul>
<table>
<c:forEach items="${groupentry.value.members}" var="userdn">
<c:url var="userurl" value="/user/${userdn}" />
<li><a href="${userurl}">${users[userdn].lastname}, ${users[userdn].firstname} (${users[userdn].login})</a></li>
</c:forEach>
</ul>
<tr>
<td style="padding: 0px 50px 0px 0px">
<a href="${userurl}">${users[userdn].login}</a>
</td>
<td>${users[userdn].lastname}, ${users[userdn].firstname}</td>
</tr>
</c:forEach>
</table>
</td>
<c:url var="updgroupurl" value="/group/${groupentry.key}?op=edit" />
<c:url var="delgroupurl" value="/group/${groupentry.key}?op=delete" />
<td><a href="${updgroupurl}"><fmt:message key="groups.operations.edit"/></a> <a href="${delgroupurl}"><fmt:message key="groups.operations.delete"/></a></td>
<td><a href="${delgroupurl}"><fmt:message key="groups.operations.delete"/></a></td>
</tr>
</c:forEach>
</table>