Ghost/ghost/admin/app/components/dashboard/v5/chart-email-open-rate.hbs

30 lines
886 B
Handlebars
Raw Normal View History

<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>