mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-11-28 14:03:48 +03:00
Updated tag and history breadcrumbs
Refs https://www.notion.so/ghost/Switch-breadcrumb-style-513a624c0e0d490ca39a2fdb97a6971a - Updated the copy to follow the common breadcrumb pattern
This commit is contained in:
parent
ab99109bbf
commit
b7fd0c04b6
@ -1,23 +1,31 @@
|
||||
<section class="gh-canvas gh-members-activity">
|
||||
<GhCanvasHeader class="gh-canvas-header">
|
||||
<div class="flex flex-column">
|
||||
<div class="gh-canvas-breadcrumb">
|
||||
<LinkTo @route="settings">
|
||||
Settings
|
||||
</LinkTo>
|
||||
{{#if this.userRecord}}
|
||||
{{svg-jar "arrow-right-small"}}
|
||||
<LinkTo @route="settings.history" @query={{reset-query-params "settings.history"}} data-test-link="history-back">
|
||||
History
|
||||
{{#if this.userRecord}}
|
||||
<div class="gh-canvas-breadcrumb">
|
||||
<LinkTo @route="settings">
|
||||
Settings
|
||||
</LinkTo>
|
||||
{{svg-jar "arrow-right-small"}} {{or this.userRecord.name this.userRecord.email}}
|
||||
{{else}}
|
||||
{{svg-jar "arrow-right-small"}} History
|
||||
{{/if}}
|
||||
</div>
|
||||
<h2 class="gh-canvas-title" data-test-screen-title>
|
||||
History
|
||||
</h2>
|
||||
{{svg-jar "arrow-right-small"}}
|
||||
<LinkTo @route="settings.history" @query={{reset-query-params "settings.history"}} data-test-link="history-back">
|
||||
History
|
||||
</LinkTo>
|
||||
{{svg-jar "arrow-right-small"}} User
|
||||
</div>
|
||||
<h2 class="gh-canvas-title" data-test-screen-title>
|
||||
{{or this.userRecord.name this.userRecord.email}}
|
||||
</h2>
|
||||
{{else}}
|
||||
<div class="gh-canvas-breadcrumb">
|
||||
<LinkTo @route="settings">
|
||||
Settings
|
||||
</LinkTo>
|
||||
{{svg-jar "arrow-right-small"}} History
|
||||
</div>
|
||||
<h2 class="gh-canvas-title" data-test-screen-title>
|
||||
History
|
||||
</h2>
|
||||
{{/if}}
|
||||
</div>
|
||||
<div class="view-actions">
|
||||
<Settings::History::EventFilter
|
||||
|
@ -6,7 +6,7 @@
|
||||
<LinkTo @route="tags" data-test-link="tags-back">
|
||||
Tags
|
||||
</LinkTo>
|
||||
{{svg-jar "arrow-right-small"}} {{if this.tag.isNew "New tag" this.tag.name}}
|
||||
{{svg-jar "arrow-right-small"}} {{if this.tag.isNew "New tag" "Tag"}}
|
||||
</div>
|
||||
<h2 class="gh-canvas-title" data-test-screen-title>
|
||||
{{if this.tag.isNew "New tag" this.tag.name}}
|
||||
|
Loading…
Reference in New Issue
Block a user