mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-23 02:41:50 +03:00
159f56b0d2
refs https://github.com/TryGhost/Team/issues/1442 All the data from the charts now come from the dashboard stats service
30 lines
886 B
Handlebars
30 lines
886 B
Handlebars
<h2>Email</h2>
|
|
|
|
<div class="prototype-counts">
|
|
<div class="prototype-counts col">
|
|
<div class="prototype-box">
|
|
<div class="number">{{this.dataSubscribers}}</div>
|
|
<div>Newsletter subscribers</div>
|
|
</div>
|
|
|
|
<div class="prototype-box">
|
|
<div class="number">{{this.dataEmailsSent}}</div>
|
|
<div>Emails sent in the past 30 days</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="prototype-box">
|
|
<h4>Email open rate</h4>
|
|
{{#if this.loading}}
|
|
<div class="prototype-placeholder" style={{html-safe (concat "height: " this.chartHeight "px;")}}/>
|
|
{{else}}
|
|
<EmberChart
|
|
@type={{this.chartType}}
|
|
@data={{this.chartData}}
|
|
@options={{this.chartOptions}}
|
|
@height={{this.chartHeight}} />
|
|
{{/if}}
|
|
</div>
|
|
</div>
|
|
|