0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-04-01 02:41:39 -05:00

Hid subscriber and post count behind multiple-newsletter-UI flag

This commit is contained in:
Sanne de Vries 2022-04-28 13:44:44 +01:00
parent 699e977a34
commit d3ca3eb47c

View file

@ -73,16 +73,18 @@
</p>
</LinkTo>
{{/if}}
<div class="gh-newsletter-card-block stats-block {{unless this.displayingDefault "multiple"}}">
<div>
<h3 class="gh-newsletter-card-name">{{newsletter.count.members}}</h3>
<p class="gh-newsletter-card-description">Subscribers</p>
{{#if (feature "multipleNewslettersUI")}}
<div class="gh-newsletter-card-block stats-block {{unless this.displayingDefault "multiple"}}">
<div>
<h3 class="gh-newsletter-card-name">{{newsletter.count.members}}</h3>
<p class="gh-newsletter-card-description">Subscribers</p>
</div>
<div>
<h3 class="gh-newsletter-card-name">{{newsletter.count.posts}}</h3>
<p class="gh-newsletter-card-description">Posts sent</p>
</div>
</div>
<div>
<h3 class="gh-newsletter-card-name">{{newsletter.count.posts}}</h3>
<p class="gh-newsletter-card-description">Posts sent</p>
</div>
</div>
{{/if}}
<div class="gh-newsletter-card-block cta-block">
{{#if this.displayingDefault}}
<LinkTo @route="settings.members-email-labs.edit-newsletter" @model={{newsletter.id}} class="gh-btn gh-btn-green" data-test-button="customize-newsletter"><span>Customize &rarr;</span></LinkTo>