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

View File

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

View File

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