mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-01 22:02:11 +03:00
Merge pull request #3394 from IanMitchell/settings-user-button
Hides <Users button for authors
This commit is contained in:
commit
5a63c1c34d
@ -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