Disable the delete button in the acl list for the anon token only

This commit is contained in:
John Cowen 2018-06-13 14:31:36 +01:00
parent 853a40b256
commit 8a1c361e17
1 changed files with 2 additions and 0 deletions

View File

@ -47,9 +47,11 @@
<li> <li>
<a onclick={{action 'sendClone' item}}>Clone</a> <a onclick={{action 'sendClone' item}}>Clone</a>
</li> </li>
{{# if (not-eq item.ID 'anonymous') }}
<li> <li>
<a onclick={{action confirm 'delete' item}}>Delete</a> <a onclick={{action confirm 'delete' item}}>Delete</a>
</li> </li>
{{/if}}
</ul> </ul>
{{/action-group}} {{/action-group}}
{{/block-slot}} {{/block-slot}}