2022-05-17 10:34:34 +03:00
|
|
|
<div class="gh-dashboard-minichart gh-dashboard-mrr">
|
|
|
|
<div class="gh-dashboard-content">
|
|
|
|
<div class="gh-dashboard-data">
|
|
|
|
<Dashboard::Parts::Metric
|
2022-05-12 14:20:44 +03:00
|
|
|
@label={{this.chartTitle}}
|
|
|
|
@value="{{this.currentMRRFormatted}}"
|
|
|
|
@trends={{this.hasTrends}}
|
|
|
|
@percentage={{this.mrrTrend}} />
|
|
|
|
</div>
|
2022-05-17 10:34:34 +03:00
|
|
|
<div class="gh-dashboard-chart">
|
2022-05-12 14:20:44 +03:00
|
|
|
{{#if this.loading}}
|
2022-05-17 10:34:34 +03:00
|
|
|
<div class="gh-dashboard-chart-loading">
|
2022-05-12 14:20:44 +03:00
|
|
|
<div class="gh-loading-spinner"></div>
|
2022-04-27 16:40:38 +03:00
|
|
|
</div>
|
2022-05-12 14:20:44 +03:00
|
|
|
{{else}}
|
2022-05-17 10:34:34 +03:00
|
|
|
<div class="gh-dashboard-chart-container">
|
|
|
|
<div class="gh-dashboard-chart-box">
|
2022-05-12 14:20:44 +03:00
|
|
|
<EmberChart
|
|
|
|
@type={{this.chartType}}
|
|
|
|
@data={{this.chartData}}
|
|
|
|
@options={{this.chartOptions}}
|
|
|
|
@height={{110}} />
|
2022-04-26 20:54:52 +03:00
|
|
|
</div>
|
2022-05-12 14:20:44 +03:00
|
|
|
|
2022-05-17 10:34:34 +03:00
|
|
|
<div id="gh-dashboard-mrr-tooltip" class="gh-dashboard-tooltip">
|
|
|
|
<div class="gh-dashboard-tooltip-label">
|
2022-05-12 14:20:44 +03:00
|
|
|
-
|
|
|
|
</div>
|
2022-05-17 10:34:34 +03:00
|
|
|
<div class="gh-dashboard-tooltip-value">
|
2022-05-12 14:20:44 +03:00
|
|
|
<span class="indicator line"></span>
|
|
|
|
<span class="value">-</span>
|
|
|
|
<span class="metric">MRR</span>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
{{/if}}
|
|
|
|
</div>
|
2022-04-27 16:40:38 +03:00
|
|
|
</div>
|
2022-04-20 15:43:11 +03:00
|
|
|
</div>
|