Revert "„src/main/webapp/group.jsp“ ändern"

This reverts commit bec2074810.
This commit is contained in:
Peter Hormanns 2021-12-07 15:01:15 +01:00
parent e964267a8f
commit 1b700a8906

View File

@ -48,44 +48,14 @@
<div class="form-group">
<label for="membership" class="col-sm-3 control-label"><fmt:message key="groups.label.members"/></label>
<div class="col-sm-9" id ="membership">
<jsp:useBean id="checker" class="de.jalin.ldapadmin.beans.MembershipCheck" />
<table>
<c:forEach items="${users}" var="userentry" >
<jsp:setProperty property="user" name="checker" value="${userentry.value}" />
<jsp:setProperty property="group" name="checker" value="${group}" />
<c:url var="userurl" value="/user/${userentry.key}" />
<c:if test="${ not empty checker.checked }">
<tr>
<td style="padding: 0px 30px 0px 0px">
<input type="checkbox" id="${userentry.value.login}" name="check_user_${userentry.value.login}" ${checker.checked}>
<a href="${userurl}">${userentry.value.login}</a>
</td>
<td style="padding: 0px 10px 0px 0px">${userentry.value.firstname}</td>
<td>${userentry.value.lastname}</td>
</tr>
</c:if>
</c:forEach>
</table>
<div class="checkbox">
------------------------------------------------------------------------------------------------------------------------------------------
</div>
<table>
<c:forEach items="${users}" var="userentry" >
<jsp:useBean id="checker" class="de.jalin.ldapadmin.beans.MembershipCheck" />
<jsp:setProperty property="user" name="checker" value="${userentry.value}" />
<jsp:setProperty property="group" name="checker" value="${group}" />
<c:url var="userurl" value="/user/${userentry.key}" />
<c:if test="${ empty checker.checked }">
<tr>
<td style="padding: 0px 30px 0px 0px">
<input type="checkbox" id="${userentry.value.login}" name="check_user_${userentry.value.login}" ${checker.checked}>
<a href="${userurl}">${userentry.value.login}</a>
</td>
<td style="padding: 0px 10px 0px 0px">${userentry.value.firstname}</td>
<td>${userentry.value.lastname}</td>
</tr>
</c:if>
<label><input type="checkbox" id="${userentry.value.login}" name="check_user_${userentry.value.login}" ${checker.checked}>${userentry.value.firstname} ${userentry.value.lastname} (${userentry.value.login})</label>
</div>
</c:forEach>
</table>
</div>
</div>
<c:if test="${ formdisabled ne 'disabled' }">