Made the attribution widget show if you don't have paid tiers

refs https://github.com/TryGhost/Team/issues/1986
This commit is contained in:
Djordje Vlaisavljevic 2022-09-29 19:37:09 +02:00
parent e3600d70ef
commit 40c66dae6a

View File

@ -22,19 +22,19 @@
{{else}} {{else}}
<Dashboard::Charts::Anchor /> <Dashboard::Charts::Anchor />
{{/if}} {{/if}}
{{#if this.hasPaidTiers}}
{{#if (feature 'sourceAttribution')}} {{#if (feature 'sourceAttribution')}}
{{#if this.hasPaidTiers}}
<section class="gh-dashboard-section"> <section class="gh-dashboard-section">
<article class="gh-dashboard-box gh-dashboard-minicharts-attribution"> <article class="gh-dashboard-box gh-dashboard-minicharts-attribution">
<Dashboard::Charts::PaidBreakdown /> <Dashboard::Charts::PaidBreakdown />
<Dashboard::Charts::PaidMix /> <Dashboard::Charts::PaidMix />
</article> </article>
</section> </section>
{{/if}}
{{#unless this.membersUtils.isMembersInviteOnly}} {{#unless this.membersUtils.isMembersInviteOnly}}
<Dashboard::Charts::Attribution /> <Dashboard::Charts::Attribution />
{{/unless}} {{/unless}}
{{/if}} {{/if}}
{{/if}}
{{#if this.areNewslettersEnabled}} {{#if this.areNewslettersEnabled}}
<Dashboard::Charts::Engagement /> <Dashboard::Charts::Engagement />
{{/if}} {{/if}}