Ghost/ghost/admin/app/components/dashboard/dashboard-v5.hbs
James Morris d3d0a6509d Moved around the delta sub graph to MRR to hopefully make sense contextually
refs: https://github.com/TryGhost/Team/issues/1462

- moved the delta graph into the revenue graph of the main combined graph
- made the secondary dropdown work again
- updated some chart titles
- tidied up the code and styles to make it work well
2022-04-14 15:28:55 +01:00

35 lines
1.2 KiB
Handlebars

<section class="gh-dashboard5-layout" {{did-insert this.onInsert}}>
{{#if this.isLoading }}
<GhLoadingSpinner />
{{else}}
{{#if this.areMembersEnabled}}
<Dashboard::V5::Charts::Anchor />
{{!-- Could these if else statements be cleaned up more? --}}
{{#if this.areNewslettersEnabled}}
<Dashboard::V5::Charts::Email />
<Dashboard::V5::Charts::Engagement />
<Dashboard::V5::Charts::EmailOpenRate />
{{else}}
<Dashboard::V5::Charts::Engagement />
{{/if}}
{{else}}
{{#if this.areNewslettersEnabled}}
<Dashboard::V5::Charts::Email />
<Dashboard::V5::Charts::Engagement />
<Dashboard::V5::Charts::EmailOpenRate />
{{/if}}
{{/if}}
<Dashboard::V5::Charts::RecentPosts />
<Dashboard::V5::Charts::RecentActivity />
<Dashboard::V5::Resources::Help />
{{!-- <Dashboard::V5::Resources::WhatsNew /> --}}
{{!-- <Dashboard::V5::Resources::LatestNewsletters /> --}}
{{!-- <Dashboard::V5::Resources::StaffPicks /> --}}
{{/if}}
</section>
<Dashboard::V5::Prototype::ControlPanel />