„src/main/webapp/users.jsp“ ändern
Die Gruppe "login" ist jetzt in einer eigenen Spalte. Dadurch sind jetzt die meisten Einträge einzeilig:
This commit is contained in:
parent
bec2074810
commit
71275eea56
@ -14,23 +14,42 @@
|
|||||||
<a href="${newuserurl}" class="btn btn-default pull-right additional-space-bottom"><fmt:message key="users.create"/></a>
|
<a href="${newuserurl}" class="btn btn-default pull-right additional-space-bottom"><fmt:message key="users.create"/></a>
|
||||||
</div>
|
</div>
|
||||||
<table class="table table-hover">
|
<table class="table table-hover">
|
||||||
<tr><th><fmt:message key="users.column.login"/></th><th><fmt:message key="users.column.firstname"/></th><th><fmt:message key="users.column.lastname"/></th><th><fmt:message key="users.column.groups"/></th><th><fmt:message key="users.column.operations"/></th></tr>
|
<tr>
|
||||||
|
<th><fmt:message key="users.column.login"/></th>
|
||||||
|
<th><fmt:message key="users.column.firstname"/></th>
|
||||||
|
<th><fmt:message key="users.column.lastname"/></th>
|
||||||
|
<th colspan="2"><fmt:message key="users.column.groups"/></th>
|
||||||
|
<th><fmt:message key="users.column.operations"/></th>
|
||||||
|
</tr>
|
||||||
<c:forEach items="${users}" var="userentry">
|
<c:forEach items="${users}" var="userentry">
|
||||||
<tr>
|
<tr>
|
||||||
<td>${userentry.value.login}</td>
|
<c:url var="upduserurl" value="/user/${userentry.key}?op=edit"/>
|
||||||
|
<td><a href="${upduserurl}">${userentry.value.login}</a></td>
|
||||||
|
|
||||||
<td>${userentry.value.firstname}</td>
|
<td>${userentry.value.firstname}</td>
|
||||||
<td>${userentry.value.lastname}</td>
|
<td>${userentry.value.lastname}</td>
|
||||||
|
|
||||||
<td>
|
<td>
|
||||||
<ul>
|
|
||||||
<c:forEach items="${userentry.value.groups}" var="groupdn">
|
<c:forEach items="${userentry.value.groups}" var="groupdn">
|
||||||
<c:url var="groupurl" value="/group/${groupdn}"/>
|
<c:url var="groupurl" value="/group/${groupdn}"/>
|
||||||
<li><a href="${groupurl}">${groups[groupdn].name}</a></li>
|
<c:if test="${ groups[groupdn].name eq 'login' }">
|
||||||
|
<a href="${groupurl}">${groups[groupdn].name}</a>
|
||||||
|
</c:if>
|
||||||
</c:forEach>
|
</c:forEach>
|
||||||
</ul>
|
</ul>
|
||||||
</td>
|
</td>
|
||||||
<c:url var="upduserurl" value="/user/${userentry.key}?op=edit"/>
|
<td>
|
||||||
|
<c:forEach items="${userentry.value.groups}" var="groupdn">
|
||||||
|
<c:url var="groupurl" value="/group/${groupdn}"/>
|
||||||
|
<c:if test="${ groups[groupdn].name ne 'login' }">
|
||||||
|
<a href="${groupurl}">${groups[groupdn].name}</a><br/>
|
||||||
|
</c:if>
|
||||||
|
</c:forEach>
|
||||||
|
</ul>
|
||||||
|
</td>
|
||||||
|
|
||||||
<c:url var="deluserurl" value="/user/${userentry.key}?op=delete"/>
|
<c:url var="deluserurl" value="/user/${userentry.key}?op=delete"/>
|
||||||
<td><a href="${upduserurl}"><fmt:message key="users.operations.edit"/></a> <a href="${deluserurl}"><fmt:message key="users.operations.delete"/></a></td>
|
<td><a href="${deluserurl}"><fmt:message key="users.operations.delete"/></a></td>
|
||||||
</tr>
|
</tr>
|
||||||
</c:forEach>
|
</c:forEach>
|
||||||
</table>
|
</table>
|
||||||
|
Loading…
Reference in New Issue
Block a user