2022-03-22 18:37:17 +03:00
|
|
|
<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>
|
2022-03-23 18:38:16 +03:00
|
|
|
{{#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}}
|
2022-03-22 18:37:17 +03:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|