2022-09-21 16:01:31 +03:00
|
|
|
<div ...attributes>
|
|
|
|
<div class="gh-dashboard-list-header">
|
|
|
|
<div class="gh-dashboard-list-title">Sources</div>
|
2022-09-22 14:43:46 +03:00
|
|
|
<div class="gh-dashboard-list-title">Signups</div>
|
2022-09-22 16:39:44 +03:00
|
|
|
{{#if this.membersUtils.paidMembersEnabled}}
|
|
|
|
<div class="gh-dashboard-list-title">Paid Conversions</div>
|
|
|
|
{{/if}}
|
2022-09-21 16:01:31 +03:00
|
|
|
</div>
|
|
|
|
<div class="gh-dashboard-list-body">
|
2022-09-22 18:34:46 +03:00
|
|
|
{{#each this.sources as |sourceData|}}
|
2022-09-21 16:01:31 +03:00
|
|
|
<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">
|
2022-09-21 19:18:01 +03:00
|
|
|
{{#if sourceData.signups}}
|
|
|
|
{{format-number sourceData.signups}}
|
2022-09-21 16:01:31 +03:00
|
|
|
{{else}}
|
|
|
|
—
|
|
|
|
{{/if}}
|
|
|
|
</span>
|
|
|
|
</div>
|
2022-09-22 16:39:44 +03:00
|
|
|
{{#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}}
|
2022-09-21 16:01:31 +03:00
|
|
|
</div>
|
|
|
|
{{else}}
|
|
|
|
<div class="gh-dashboard-list-empty">
|
|
|
|
<p>No sources.</p>
|
|
|
|
</div>
|
|
|
|
{{/each}}
|
|
|
|
</div>
|
|
|
|
</div>
|