mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-22 18:31:57 +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.
17 lines
542 B
Handlebars
17 lines
542 B
Handlebars
{{!-- <h4
|
|
class="gh-dashboard5-metric is-main"
|
|
{{did-insert this.loadCharts}}
|
|
{{did-update this.loadCharts @days}}
|
|
>
|
|
Total members
|
|
</h4> --}}
|
|
{{#if this.loading}}
|
|
<div {{did-insert this.loadCharts}} class="gh-dashboard5-loading" style={{html-safe (concat "height: " this.chartHeight "px;")}}/>
|
|
{{else}}
|
|
<Dashboard::V5::ChartMembersCountsInsert />
|
|
<EmberChart
|
|
@type={{this.chartType}}
|
|
@data={{this.chartData}}
|
|
@options={{this.chartOptions}}
|
|
@height={{this.chartHeight}} />
|
|
{{/if}} |