Ghost/ghost/admin/app/components/dashboard/dashboard-v5.hbs
2022-05-03 12:21:30 +02:00

31 lines
977 B
Handlebars

<section class="gh-dashboard5-layout" {{did-insert this.onInsert}}>
{{#if this.isLoading }}
<GhLoadingSpinner />
{{else}}
{{#if this.areMembersEnabled}}
{{#if this.hasPaidTiers}}
<Dashboard::V5::Charts::Overview />
{{/if}}
<Dashboard::V5::Charts::Anchor />
{{/if}}
{{#if this.areNewslettersEnabled}}
<Dashboard::V5::Charts::Engagement />
{{/if}}
<Dashboard::V5::Charts::Recents />
<div class="gh-dashboard5-split gh-dashboard5-box is-secondary">
<Dashboard::V5::Resources::Resources />
<Dashboard::V5::Resources::Newsletter />
</div>
<div class="gh-dashboard5-split">
<Dashboard::V5::Resources::StaffPicks />
<Dashboard::V5::Resources::WhatsNew />
<Dashboard::V5::Resources::Community />
</div>
{{/if}}
</section>
<Dashboard::V5::Prototype::ControlPanel />