mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-01-06 22:40:14 -05:00
e84b6198c4
closes #3400 - The user view has been extended to have properties indicating whether the user has rights to make the displayed user an owner or delete him/her - Handlebar conditionals decide whether or not to display the cog
6 lines
No EOL
263 B
Handlebars
6 lines
No EOL
263 B
Handlebars
{{#if view.parentView.rolesDropdownIsVisible}}
|
|
<a href="javascript:void(0);" {{action "openModal" "transfer-owner" this}}>Make Owner</a>
|
|
{{/if}}
|
|
{{#if view.parentView.deleteUserActionIsVisible}}
|
|
<a href="javascript:void(0);" class="delete">Delete User</a>
|
|
{{/if}} |