mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-22 10:21:36 +03:00
d3d0a6509d
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
35 lines
1.2 KiB
Handlebars
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 /> |