Revert "„src/main/webapp/users.jsp“ ändern"
This reverts commit 71275eea56
.
This commit is contained in:
parent
897f708b1c
commit
429ffeca2e
@ -14,42 +14,23 @@
|
|||||||
<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>
|
<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>
|
||||||
<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>
|
||||||
<c:url var="upduserurl" value="/user/${userentry.key}?op=edit"/>
|
<td>${userentry.value.login}</td>
|
||||||
<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}"/>
|
||||||
<c:if test="${ groups[groupdn].name eq 'login' }">
|
<li><a href="${groupurl}">${groups[groupdn].name}</a></li>
|
||||||
<a href="${groupurl}">${groups[groupdn].name}</a>
|
|
||||||
</c:if>
|
|
||||||
</c:forEach>
|
</c:forEach>
|
||||||
</ul>
|
</ul>
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<c:url var="upduserurl" value="/user/${userentry.key}?op=edit"/>
|
||||||
<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="${deluserurl}"><fmt:message key="users.operations.delete"/></a></td>
|
<td><a href="${upduserurl}"><fmt:message key="users.operations.edit"/></a> <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