2022-09-21 16:01:31 +03:00
<div ...attributes>
<div class="gh-dashboard-list-header">
2022-09-26 13:14:06 +03:00
<div class="gh-dashboard-list-title gh-dashboard-list-title-sources">Sources</div>
2022-10-07 10:31:48 +03:00
<div
class="gh-dashboard-list-title {{ if ( eq @ sortColumn "signups" ) "sorted-by" }} "
>
2022-10-07 10:50:41 +03:00
<span class="hide-when-small">Free </span>signups {{ svg-jar "arrow-down-fill" }}
2022-10-07 10:31:48 +03:00
</div>
{{ # if this .membersUtils .paidMembersEnabled }}
2022-09-26 20:59:30 +03:00
<div
2022-10-07 10:31:48 +03:00
class="gh-dashboard-list-title {{ if ( eq @ sortColumn "paid" ) "sorted-by" }} "
2022-09-26 20:59:30 +03:00
>
2022-10-07 10:31:48 +03:00
<span class="hide-when-small">Paid </span>Conversions {{ svg-jar "arrow-down-fill" }}
2022-09-26 20:59:30 +03:00
</div>
2022-09-22 16:39:44 +03:00
{{ / if }}
2022-09-21 16:01:31 +03:00
</div>
2022-09-26 13:14:06 +03:00
<div class="gh-dashboard-list-body">
2022-09-22 21:27:03 +03:00
{{ # each this .sources as | sourceData | }}
<div class="gh-dashboard-list-item">
2022-09-29 07:24:00 +03:00
<div class="gh-dashboard-list-item-sub gh-dashboard-list-item-sub-source {{ if ( eq sourceData .source "Unavailable" ) "gh-dashboard-list-item-unavailable-source" }} ">
2022-09-28 18:19:49 +03:00
<span class="gh-dashboard-list-text"> {{ sourceData .source }}
{{!-- <sup class="gh-dashboard-list-asterisk">*</sup> --}}
</span>
2022-09-22 21:27:03 +03:00
</div>
2022-10-06 23:26:49 +03:00
<div class="gh-dashboard-list-item-sub gh-dashboard-list-item-sub-signup {{ if ( eq @ sortColumn "signups" ) "sorted-by" }} ">
2022-09-27 14:01:18 +03:00
{{ # if sourceData .signups }}
<span class="gh-dashboard-metric-minivalue">
2022-09-22 21:27:03 +03:00
{{ format-number sourceData .signups }}
2022-09-27 14:01:18 +03:00
</span>
{{ else }}
<span class="gh-dashboard-metric-minivalue na">
2022-09-22 16:39:44 +03:00
—
2022-09-27 14:01:18 +03:00
</span>
{{ / if }}
2022-09-22 16:39:44 +03:00
</div>
2022-09-28 13:57:44 +03:00
{{ # if this .membersUtils .paidMembersEnabled }}
2022-10-06 23:26:49 +03:00
<div class="gh-dashboard-list-item-sub gh-dashboard-list-item-sub-paid {{ if ( eq @ sortColumn "paid" ) "sorted-by" }} ">
2022-09-28 13:57:44 +03:00
{{ # if sourceData .paidConversions }}
<span class="gh-dashboard-metric-minivalue">
{{ format-number sourceData .paidConversions }}
</span>
{{ else }}
<span class="gh-dashboard-metric-minivalue na">
—
</span>
{{ / if }}
</div>
{{ / if }}
2022-09-22 21:27:03 +03:00
</div>
{{ / each }}
2022-09-24 21:45:12 +03:00
{{ # if this .others }}
2022-09-26 16:30:15 +03:00
<div class="gh-dashboard-list-item">
<div class="gh-dashboard-list-item-sub gh-dashboard-list-item-sub-source gh-dashboard-list-item-other-source">
2022-09-28 17:47:29 +03:00
<span class="gh-dashboard-list-text" role="button" aria-label="Show sources"
2022-09-28 18:23:53 +03:00
{{ on "click" this .openAllSources }} >Other sources <span class="gh-dashboard-list-item-other-source-arrow">→</span></span>
2022-09-24 21:45:12 +03:00
</div>
<div class="gh-dashboard-list-item-sub">
2022-09-28 13:57:44 +03:00
{{ # if this .others .signups }}
2022-09-27 14:01:18 +03:00
<span class="gh-dashboard-metric-minivalue">
2022-09-28 13:57:44 +03:00
{{ format-number this .others .signups }}
2022-09-27 14:01:18 +03:00
</span>
{{ else }}
<span class="gh-dashboard-metric-minivalue na">
2022-09-24 21:45:12 +03:00
—
2022-09-27 14:01:18 +03:00
</span>
{{ / if }}
2022-09-24 21:45:12 +03:00
</div>
2022-09-28 13:57:44 +03:00
{{ # if this .membersUtils .paidMembersEnabled }}
<div class="gh-dashboard-list-item-sub">
{{ # if this .others .paidConversions }}
<span class="gh-dashboard-metric-minivalue">
{{ format-number this .others .paidConversions }}
</span>
{{ else }}
<span class="gh-dashboard-metric-minivalue na">
—
</span>
{{ / if }}
</div>
{{ / if }}
2022-09-24 21:45:12 +03:00
</div>
{{ / if }}
2022-09-21 16:01:31 +03:00
</div>
2022-09-28 18:19:49 +03:00
</div>
{{!-- <p class="gh-dashboard-attribution-footnote"><sup class="gh-dashboard-list-asterisk">*</sup>New member signups originating from your newsletter are the result of it being shared and forwarded.</p> --}}