Renamed the member links to be something simpler on Post Analytics page

refs https://github.com/TryGhost/Team/issues/2147
This commit is contained in:
James Morris 2022-10-24 16:52:59 +01:00
parent 26d049911c
commit 9f7a8a6f2f
3 changed files with 4 additions and 7 deletions

View File

@ -53,7 +53,6 @@
@postId={{this.post.id}}
@eventType="sent"
@linkQuery={{hash filterParam=(concat "emails.post_id:" this.post.id) }}
@linkText="See filtered members for sent"
/>
</tabs.tabPanel>
@ -68,7 +67,6 @@
@postId={{this.post.id}}
@eventType="opened"
@linkQuery={{hash filterParam=(concat "opened_emails.post_id:" this.post.id) }}
@linkText="See filtered members for opened"
/>
</tabs.tabPanel>
{{/if}}
@ -84,7 +82,6 @@
@postId={{this.post.id}}
@eventType="clicked"
@linkQuery={{hash filterParam=(concat "clicked_links.post_id:" this.post.id) }}
@linkText="See filtered members for clicked"
/>
</tabs.tabPanel>
{{/if}}

View File

@ -5,7 +5,7 @@
@query={{@positiveLink}}
>
{{svg-jar "filter"}}
<span>See filtered members</span>
<span>See members</span>
</LinkTo>
<LinkTo
@ -14,6 +14,6 @@
@query={{@negativeLink}}
>
{{svg-jar "filter"}}
<span>See filtered members</span>
<span>See members</span>
</LinkTo>
</div>

View File

@ -100,14 +100,14 @@
Showing {{eventsFetcher.previousEvents}}-{{eventsFetcher.shownEvents}} of {{eventsFetcher.totalEvents}}
</div>
{{#if (and @linkQuery @linkText)}}
{{#if @linkQuery}}
<LinkTo
class="gh-post-activity-feed-pagination-link"
@route="members"
@query={{@linkQuery}}
>
{{svg-jar "filter"}}
{{@linkText}}
See members
</LinkTo>
{{/if}}
</div>