Pulled out dummy percentage comparisons on some graphs for Dashboard prototype

refs: https://github.com/TryGhost/Team/issues/1462
This commit is contained in:
James Morris 2022-03-29 10:16:11 +01:00
parent d32f4fc5e3
commit 60a3b742ea
3 changed files with 2 additions and 8 deletions

View File

@ -128,5 +128,4 @@
<Dashboard::V5::PrototypeControlPanel />
{{/if}}
</section>
</section>

View File

@ -7,13 +7,11 @@
<div class="gh-dashboard5-number is-small">{{format-number this.dataSubscribers.total}}</div>
<div class="gh-dashboard5-number is-small">{{format-number this.dataSubscribers.paid}} paid</div>
<div class="gh-dashboard5-number is-small">{{format-number this.dataSubscribers.free}} free</div>
<div class="gh-dashboard5-percentage is-positive">+2.2%</div>
</div>
<div class="gh-dashboard5-box">
<h4 class="gh-dashboard5-metric">Emails sent in the past 30 days</h4>
<div class="gh-dashboard5-number is-small">{{format-number this.dataEmailsSent}}</div>
<div class="gh-dashboard5-percentage is-positive">+2.2%</div>
</div>
<div class="gh-dashboard5-box">
@ -28,5 +26,4 @@
@height={{this.chartHeight}} />
{{/if}}
</div>
</div>
</div>

View File

@ -21,12 +21,10 @@
<div class="gh-dashboard5-box">
<h4 class="gh-dashboard5-metric">Engaged in past 30 days</h4>
<div class="gh-dashboard5-number is-small">{{this.data30Days}}</div>
<div class="gh-dashboard5-percentage is-positive">+2.2%</div>
</div>
<div class="gh-dashboard5-box">
<h4 class="gh-dashboard5-metric">Engaged in past 7 days</h4>
<div class="gh-dashboard5-number is-small">{{this.data7Days}}</div>
<div class="gh-dashboard5-percentage is-negative">-1.1%</div>
</div>
</div>