mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-23 19:02:29 +03:00
e93f6071cd
refs https://github.com/TryGhost/Team/issues/1932 - removes null sources from attribution chart - moves null sources count to bottom of attribution table
43 lines
1.7 KiB
Handlebars
43 lines
1.7 KiB
Handlebars
<div ...attributes>
|
|
<div class="gh-dashboard-list-header">
|
|
<div class="gh-dashboard-list-title">Sources</div>
|
|
<div class="gh-dashboard-list-title">Signups</div>
|
|
{{#if this.membersUtils.paidMembersEnabled}}
|
|
<div class="gh-dashboard-list-title">Paid Conversions</div>
|
|
{{/if}}
|
|
</div>
|
|
<div class="gh-dashboard-list-body">
|
|
{{#each this.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.signups}}
|
|
{{format-number sourceData.signups}}
|
|
{{else}}
|
|
—
|
|
{{/if}}
|
|
</span>
|
|
</div>
|
|
{{#if this.membersUtils.paidMembersEnabled}}
|
|
<div class="gh-dashboard-list-item-sub">
|
|
<span class="gh-dashboard-metric-minivalue">
|
|
{{#if sourceData.paidConversions}}
|
|
{{format-number sourceData.paidConversions}}
|
|
{{else}}
|
|
—
|
|
{{/if}}
|
|
</span>
|
|
</div>
|
|
{{/if}}
|
|
</div>
|
|
{{else}}
|
|
<div class="gh-dashboard-list-empty">
|
|
<p>No sources.</p>
|
|
</div>
|
|
{{/each}}
|
|
</div>
|
|
</div>
|