mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-29 05:42:32 +03:00
39 lines
1.5 KiB
Handlebars
39 lines
1.5 KiB
Handlebars
<div ...attributes>
|
|
<div class="gh-dashboard-list-header">
|
|
<div class="gh-dashboard-list-title">Sources</div>
|
|
<div class="gh-dashboard-list-title">Free Signups</div>
|
|
<div class="gh-dashboard-list-title">Paid Conversions</div>
|
|
</div>
|
|
<div class="gh-dashboard-list-body">
|
|
{{#each @sources as |sourceData|}}
|
|
<div class="gh-dashboard-list-item">
|
|
<div class="gh-dashboard-list-item-sub">
|
|
<span class="gh-dashboard-list-text">{{sourceData.source}}</span>
|
|
</div>
|
|
<div class="gh-dashboard-list-item-sub">
|
|
<span class="gh-dashboard-metric-minivalue">
|
|
{{#if sourceData.freeSignups}}
|
|
{{format-number sourceData.freeSignups}}
|
|
{{else}}
|
|
—
|
|
{{/if}}
|
|
</span>
|
|
</div>
|
|
<div class="gh-dashboard-list-item-sub">
|
|
<span class="gh-dashboard-metric-minivalue">
|
|
{{#if sourceData.paidConversions}}
|
|
{{format-number sourceData.paidConversions}}
|
|
{{else}}
|
|
—
|
|
{{/if}}
|
|
</span>
|
|
</div>
|
|
</div>
|
|
{{else}}
|
|
<div class="gh-dashboard-list-empty">
|
|
<p>No sources.</p>
|
|
</div>
|
|
{{/each}}
|
|
</div>
|
|
</div>
|