mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-11-29 15:12:58 +03:00
Hides <Users button for authors
closes #3295 - The <Users button visibility is now restricted by user role
This commit is contained in:
parent
1695631f11
commit
601692780a
@ -5,7 +5,9 @@
|
||||
<div class="settings-header-inner">
|
||||
{{#link-to 'settings' class='button-back button'}}Back{{/link-to}}
|
||||
<section class="page-actions page-actions-alt">
|
||||
{{#link-to "settings.users" class="button has-icon users-back" tagName="button"}}<i class="icon-chevron-left"></i>Users{{/link-to}}
|
||||
{{#unless session.user.isAuthor}}
|
||||
{{#link-to "settings.users" class="button has-icon users-back" tagName="button"}}<i class="icon-chevron-left"></i>Users{{/link-to}}
|
||||
{{/unless}}
|
||||
</section>
|
||||
|
||||
<section class="page-actions">
|
||||
|
Loading…
Reference in New Issue
Block a user