2021-10-18 14:27:42 +03:00
|
|
|
<section class="gh-canvas">
|
2022-10-04 08:35:29 +03:00
|
|
|
<GhCanvasHeader class="gh-canvas-header sticky">
|
2022-01-26 17:49:50 +03:00
|
|
|
{{!-- Remove breadcrumbs for Authors and Contributors --}}
|
2022-10-04 08:35:29 +03:00
|
|
|
{{#if this.currentUser.isAuthorOrContributor}}
|
2022-01-26 17:49:50 +03:00
|
|
|
<h2 class="gh-canvas-title" data-test-screen-title>Your profile</h2>
|
|
|
|
{{else}}
|
2022-10-04 08:35:29 +03:00
|
|
|
<div class="flex flex-column">
|
|
|
|
<div class="gh-canvas-breadcrumb">
|
|
|
|
{{#unless this.session.user.isEditor}}
|
|
|
|
<LinkTo @route="settings">
|
|
|
|
Settings
|
|
|
|
</LinkTo>
|
|
|
|
{{svg-jar "arrow-right-small"}}
|
|
|
|
{{/unless}}
|
|
|
|
<LinkTo @route="settings.staff" data-test-staff-link={{true}}>
|
|
|
|
Staff
|
|
|
|
</LinkTo>
|
|
|
|
{{svg-jar "arrow-right-small"}} Profile
|
|
|
|
</div>
|
|
|
|
<h2 class="gh-canvas-title" data-test-screen-title>
|
|
|
|
{{this.user.name}}
|
|
|
|
{{#if this.user.isSuspended}}
|
|
|
|
<span class="gh-badge suspended" data-test-suspended-badge>Suspended</span>
|
|
|
|
{{/if}}
|
|
|
|
</h2>
|
|
|
|
</div>
|
2022-01-26 17:49:50 +03:00
|
|
|
{{/if}}
|
2021-10-18 14:27:42 +03:00
|
|
|
|
|
|
|
<section class="view-actions">
|
|
|
|
<div class="gh-btn gh-btn-primary"><span>Save</span></div>
|
|
|
|
</section>
|
|
|
|
</GhCanvasHeader>
|
|
|
|
|
|
|
|
<div class="gh-content">
|
|
|
|
<GhLoadingSpinner />
|
|
|
|
</div>
|
|
|
|
</section>
|