Merge remote-tracking branch 'origin/pr/1129'

This commit is contained in:
Andrew DeMaria
2019-07-01 21:14:11 -06:00
4 changed files with 28 additions and 2 deletions
@@ -63,9 +63,10 @@
<form:form method="post" action="userSettings.view" modelAttribute="command">
<table style="${command.admin ? 'display:none' : ''}">
<tr>
<tr style="${command.currentUser ? 'display:none' : ''}">
<td><form:checkbox path="adminRole" id="admin" cssClass="checkbox"/></td>
<td><label for="admin"><fmt:message key="usersettings.admin"/></label></td>
<td class="warning"><form:errors path="adminRole"/></td>
</tr>
<tr>
<td><form:checkbox path="settingsRole" id="settings" cssClass="checkbox"/></td>
@@ -136,11 +137,12 @@
</tr>
</table>
<c:if test="${not command.newUser and not command.admin}">
<c:if test="${not command.newUser and not command.admin and not command.currentUser}">
<table class="indent">
<tr>
<td><form:checkbox path="deleteUser" id="delete" cssClass="checkbox"/></td>
<td><label for="delete"><fmt:message key="usersettings.delete"/></label></td>
<td class="warning"><form:errors path="deleteUser"/></td>
</tr>
</table>
</c:if>