0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-01-27 22:49:56 -05:00

Removed hardcoded subscribers count from list-item-clicks

fixes https://github.com/TryGhost/Team/issues/1948
This commit is contained in:
Simon Backx 2022-09-22 14:22:29 +02:00
parent 6dbc42bf55
commit e18ba2bb4d

View file

@ -35,7 +35,7 @@
Published
{{#if @post.hasEmail}}
{{#if this.isHovered}}
and sent to 2,467 free subscribers
and sent to {{gh-pluralize @post.email.emailCount "member"}}
{{else}}
and sent
{{/if}}
@ -97,7 +97,7 @@
{{#if @post.hasEmail}}
and sent
{{#if this.isStateHovered}}
<span {{css-transition "anim-fade-in-scale"}}>to 2,467 free subscribers</span>
<span {{css-transition "anim-fade-in-scale"}}>to {{gh-pluralize @post.email.emailCount "member"}}</span>
{{/if}}
{{/if}}
</span>
@ -107,7 +107,7 @@
<span class="sent" {{on "mouseover" (fn (mut this.isStateHovered) true)}} {{on "mouseleave" (fn (mut this.isStateHovered) false)}}>
Sent
{{#if this.isStateHovered}}
<span {{css-transition "anim-fade-in-scale"}}>to 2,467 free subscribers</span>
<span {{css-transition "anim-fade-in-scale"}}>to {{gh-pluralize @post.email.emailCount "member"}}</span>
{{/if}}
</span>
{{/if}}