mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-01-04 17:04:59 +03:00
f470549e80
refs https://github.com/TryGhost/Team/issues/460 - use the `user.accessibility` field via the `feature` service to add a `launchComplete` property - this is the best place we have currently for UI-specific concerns - toggle the property to `true` when the "Launch!" button is clicked in the final wizard step - hide the launch site wizard link on the dashboard if launch has been completed
13 lines
439 B
Handlebars
13 lines
439 B
Handlebars
<section class="gh-canvas">
|
|
<GhCanvasHeader class="gh-canvas-header">
|
|
<h2 class="gh-canvas-title" data-test-screen-title>
|
|
Dashboard
|
|
</h2>
|
|
</GhCanvasHeader>
|
|
|
|
<section class="view-container gh-main-width">
|
|
{{#if (and this.session.user.isOwner (not this.feature.launchComplete))}}
|
|
<LinkTo @route="launch">Launch site - Finish setup</LinkTo>
|
|
{{/if}}
|
|
</section>
|
|
</section> |