Fixes navigation for Editors on small screen

closes #4707

- Changes Back-link on settings users page to content for editors
This commit is contained in:
cobbspur 2014-12-23 10:35:49 +00:00
parent d620f3a0d2
commit 050491a9d3

View File

@ -1,6 +1,11 @@
{{#view "settings/users/users-list-view" class="users-list-wrapper js-users-list-view"}}
<header class="settings-view-header user-list-header">
{{#link-to "settings" class="btn btn-default btn-back"}}Back{{/link-to}}
{{#if session.user.isEditor}}
{{#link-to "content" class="btn btn-default btn-back"}}Back{{/link-to}}
{{else}}
{{#link-to "settings" class="btn btn-default btn-back"}}Back{{/link-to}}
{{/if}}
<h2 class="page-title">Users</h2>
<section class="page-actions">
<button class="btn btn-green" {{action "openModal" "invite-new-user"}} >New&nbsp;User</button>