mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-26 04:13:30 +03:00
Added link to dashboard on post-published screen
closes https://linear.app/tryghost/issue/IPC-96/add-link-back-to-dashboard-to-post-published-screen - When the onboardingChecklist feature flag is enabled, hides "Back to editor" link on post-published screen and shows "Back to dashboard" instead. There is already one link back to the editor, and it makes sense to let users go back to the dashboard easily.
This commit is contained in:
parent
f20c79ee54
commit
c3355d0067
@ -97,14 +97,18 @@
|
||||
</p>
|
||||
{{else}}
|
||||
<p class="gh-publish-confirmation gh-publish-confirmation-with-feedback">
|
||||
<button
|
||||
{{#if (feature "onboardingChecklist")}}
|
||||
<LinkTo @route="dashboard" class="gh-back-to-editor" title="Back to dashboard">Back to dashboard</LinkTo>
|
||||
{{else}}
|
||||
<button
|
||||
type="button"
|
||||
class="gh-back-to-editor"
|
||||
{{on "click" @close}}
|
||||
data-test-button="back-to-editor"
|
||||
>
|
||||
<span>Back to editor</span>
|
||||
</button>
|
||||
</button>
|
||||
{{/if}}
|
||||
</p>
|
||||
{{/if}}
|
||||
{{/if}}
|
||||
|
Loading…
Reference in New Issue
Block a user