mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-03-18 02:21:47 -05:00
Hides <Users button for authors
closes #3295 - The <Users button visibility is now restricted by user role
This commit is contained in:
parent
a9a5acf2f2
commit
ff3e68ec36
1 changed files with 3 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue