NIHVIVO-2986: Deleted input checkbox for deletion on ROOT
This commit is contained in:
parent
4ac8ecdeb2
commit
09af6ecd5e
2 changed files with 6 additions and 2 deletions
|
@ -267,3 +267,6 @@ form.customForm input[name="newPassword"],
|
||||||
form.customForm input[name="confirmPassword"] {
|
form.customForm input[name="confirmPassword"] {
|
||||||
width: 10em;
|
width: 10em;
|
||||||
}
|
}
|
||||||
|
a.disable-delete {
|
||||||
|
padding-left: 24px;
|
||||||
|
}
|
||||||
|
|
|
@ -149,13 +149,14 @@
|
||||||
<td>
|
<td>
|
||||||
<#if account.deletable>
|
<#if account.deletable>
|
||||||
<input type="checkbox" name="deleteAccount" value="${account.uri}" />
|
<input type="checkbox" name="deleteAccount" value="${account.uri}" />
|
||||||
|
<#assign disableDeleteAccount = '' />
|
||||||
<!-- ignored unless submit action is formUrls.delete -->
|
<!-- ignored unless submit action is formUrls.delete -->
|
||||||
<#else>
|
<#else>
|
||||||
<input type="checkbox" name="deleteAccount" value="${account.uri}" disabled />
|
<#assign disableDeleteAccount = 'class="disable-delete"' />
|
||||||
</#if>
|
</#if>
|
||||||
|
|
||||||
<#if account.editUrl != "">
|
<#if account.editUrl != "">
|
||||||
<a href="${account.editUrl}" >${account.emailAddress}</a>
|
<a ${disableDeleteAccount} href="${account.editUrl}" >${account.emailAddress}</a>
|
||||||
<!-- when this link is clicked, editAccount is noticed and all other fields are ignored. -->
|
<!-- when this link is clicked, editAccount is noticed and all other fields are ignored. -->
|
||||||
<#else>
|
<#else>
|
||||||
${account.emailAddress}
|
${account.emailAddress}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue