mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-22 10:21:36 +03:00
5b120d5574
refs https://github.com/TryGhost/Team/issues/1443 refs https://github.com/TryGhost/Team/issues/1458 refs https://github.com/TryGhost/Team/issues/1459 - Includes the new paid members chart (deltas) - Reused the counts from the stats endpoint, instead of doing separate calls to the members api browse endpoint.
14 lines
438 B
Handlebars
14 lines
438 B
Handlebars
<div class="gh-dashboard5-number"
|
|
{{did-insert this.loadCharts}}
|
|
>$999</div>
|
|
<small class="gh-dashboard5-info">Total paid</small>
|
|
|
|
{{#if this.loading}}
|
|
<div class="gh-dashboard5-loading" style={{html-safe (concat "height: " this.chartHeight "px;")}}/>
|
|
{{else}}
|
|
<EmberChart
|
|
@type={{this.chartType}}
|
|
@data={{this.chartData}}
|
|
@options={{this.chartOptions}}
|
|
@height={{this.chartHeight}} />
|
|
{{/if}} |