mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-11-25 09:03:12 +03:00
3231863dc2
refs. https://github.com/TryGhost/Team/issues/1839 - there was no way for an Editor through the Admin UI to be able to invite staff users
27 lines
1015 B
Handlebars
27 lines
1015 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>
|
|
{{#unless this.session.user.isEditor}}
|
|
<LinkTo @route="settings">Settings</LinkTo>
|
|
<span>{{svg-jar "arrow-right"}}</span>
|
|
{{/unless}}
|
|
<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>
|