mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-22 18:31:57 +03:00
beca9b13dd
No issue - Authors don't need access to staff page and don't need to see breadcrumbs on their profile page - There's enough space in the side navigation for the post views to be visible by default
25 lines
924 B
Handlebars
25 lines
924 B
Handlebars
<section class="gh-canvas">
|
|
<GhCanvasHeader class="gh-canvas-header">
|
|
{{!-- Remove breadcrumbs for Authors and Contributors --}}
|
|
{{#if this.session.user.isAuthorOrContributor}}
|
|
<h2 class="gh-canvas-title" data-test-screen-title>Your profile</h2>
|
|
{{else}}
|
|
<h2 class="gh-canvas-title" data-test-screen-title>
|
|
<LinkTo @route="settings">Settings</LinkTo>
|
|
<span>{{svg-jar "arrow-right"}}</span>
|
|
<LinkTo @route="settings.staff" data-test-staff-link={{true}}>Staff</LinkTo>
|
|
<span>{{svg-jar "arrow-right"}}</span>
|
|
{{this.user.name}}
|
|
</h2>
|
|
{{/if}}
|
|
|
|
<section class="view-actions">
|
|
<div class="gh-btn gh-btn-primary"><span>Save</span></div>
|
|
</section>
|
|
</GhCanvasHeader>
|
|
|
|
<div class="gh-content">
|
|
<GhLoadingSpinner />
|
|
</div>
|
|
</section>
|