0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-01-20 22:42:53 -05:00

Show settings-cog and back button

closes #3925
- Make user-settings-cog reappear
- Show [< Users] back button
This commit is contained in:
Fabian Becker 2014-09-02 21:24:01 +00:00
parent 94db4624e7
commit 2959b6d391
2 changed files with 6 additions and 6 deletions

View file

@ -1,6 +1,6 @@
{{#if view.parentView.canMakeOwner}}
{{#if view.canMakeOwner}}
<li><button {{action "openModal" "transfer-owner" this}}>Make Owner</button></li>
{{/if}}
{{#if view.parentView.deleteUserActionIsVisible}}
{{#if view.deleteUserActionIsVisible}}
<li><button {{action "openModal" "delete-user" this}} class="delete">Delete User</button></li>
{{/if}}

View file

@ -1,17 +1,17 @@
<header class="settings-subview-header">
{{#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}}
{{#link-to "settings.users" class="btn btn-default btn-back" tagName="button"}}<i class="icon-chevron-left"></i>Users{{/link-to}}
{{/unless}}
<h2 class="page-title">{{user.name}}</h2>
<section class="page-actions">
{{#if view.userActionsAreVisible}}
<span class="dropdown">
{{#gh-popover-button popoverName="user-actions-menu" classNames="button only-has-icon user-actions-cog" title="User Actions"}}
{{#gh-popover-button popoverName="user-actions-menu" classNames="btn btn-default only-has-icon user-actions-cog" title="User Actions"}}
<i class="icon-settings"></i>
<span class="hidden">User Settings</span>
{{/gh-popover-button}}
{{#gh-popover name="user-actions-menu" tagName="ul" classNames="user-actions-menu dropdown-menu dropdown-triangle-top-right"}}
{{render "user-actions-menu" model}}
{{partial "user-actions-menu"}}
{{/gh-popover}}
</span>
{{/if}}
@ -115,4 +115,4 @@
</fieldset>
</form>
</form>