mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-15 19:52:01 +03:00
6645f7c65a
closes #3529 - Created ‘delete user’ modal (similar to the ‘delete post’ modal) and controller - Modal will be opened if ‘Delete User’ is selected in the user setting cog menu
6 lines
295 B
Handlebars
6 lines
295 B
Handlebars
{{#if view.parentView.canMakeOwner}}
|
|
<a href="javascript:void(0);" {{action "openModal" "transfer-owner" this}}>Make Owner</a>
|
|
{{/if}}
|
|
{{#if view.parentView.deleteUserActionIsVisible}}
|
|
<a href="javascript:void(0);" {{action "openModal" "delete-user" this}} class="delete">Delete User</a>
|
|
{{/if}} |