NIHVIVO-2716 Make rootUser a property on UserAccount. When editing the root user, don't show roles.

This commit is contained in:
j2blake 2011-06-16 15:09:39 +00:00
parent be3851b15e
commit 8b4b66e024
10 changed files with 43 additions and 94 deletions

View file

@ -68,12 +68,14 @@
<label for="external-auth-id">External authorization ID (optional)</label>
<input type="text" name="externalAuthId" value="${externalAuthId}" id="external-auth-id" role="input "/>
<p>Roles<span class="requiredHint"> *</span> </p>
<#list roles as role>
<input type="radio" name="role" value="${role.uri}" role="radio" <#if selectedRole = role.uri>checked</#if> />
<label class="inline" for="${role.label}"> ${role.label}</label>
<br />
</#list>
<#if roles?has_content>
<p>Roles<span class="requiredHint"> *</span> </p>
<#list roles as role>
<input type="radio" name="role" value="${role.uri}" role="radio" <#if selectedRole = role.uri>checked</#if> />
<label class="inline" for="${role.label}"> ${role.label}</label>
<br />
</#list>
</#if>
<#if !emailIsEnabled??>
<label for="new-password">New password<span class="requiredHint"> *</span></label>