Ghost/ghost/admin/app/components/dashboard/v5/charts/email.hbs
James Morris df30298651 More layout and chart adjustments to better improve the design
refs: https://github.com/TryGhost/Team/issues/1462

- added back in the main title to the top chart
- brought back the main metric background and centered buttons
- adjusted lots of spacing
- made the chart ticks for main graph dynamic
- improved the look of the breakdown graph
2022-04-13 15:27:42 +01:00

20 lines
726 B
Handlebars

<section class="gh-dashboard5-section gh-dashboard5-email">
<article class="gh-dashboard5-box">
<div {{did-insert this.loadCharts}} class="gh-dashboard5-rows">
<div class="gh-dashboard5-row">
<Dashboard::v5::Parts::Metric
@label="Newsletter subscribers"
@value={{format-number this.dataSubscribers.total}}
/>
</div>
<div class="gh-dashboard5-row">
<Dashboard::v5::Parts::Metric
@label="Emails sent over last 30 days"
@value={{format-number this.dataEmailsSent}}
/>
</div>
</div>
</article>
</section>