{{#if (eq @eventType "sent")}}
    <Posts::PostActivityFeed::Link>
        <LinkTo
            class="gh-post-activity-feed-pagination-link"
            @route="members"
            @query={{hash filterParam=(concat "emails.post_id:" @post.id) postAnalytics=@post.id }}
        >
            Sent
        </LinkTo>
    </Posts::PostActivityFeed::Link>
{{else if (eq @eventType "opened")}}
    <Posts::PostActivityFeed::Link>
        <LinkTo
            class="gh-post-activity-feed-pagination-link"
            @route="members"
            @query={{hash filterParam=(concat "opened_emails.post_id:" @post.id) postAnalytics=@post.id }}
        >
            Opened
        </LinkTo>
    </Posts::PostActivityFeed::Link>
{{else if (eq @eventType "clicked")}}
    <Posts::PostActivityFeed::Link>
        <LinkTo
            class="gh-post-activity-feed-pagination-link"
            @route="members"
            @query={{hash filterParam=(concat "clicked_links.post_id:" @post.id) postAnalytics=@post.id }}
        >
            Clicked
        </LinkTo>
    </Posts::PostActivityFeed::Link>
{{else if (eq @eventType "feedback")}}
    <Posts::PostActivityFeed::Link>
        {{#each this.feedbackLinks as |link|}}
            <LinkTo
                class="gh-post-activity-feed-pagination-link"
                @route="members"
                @query={{hash filterParam=link.filterParam postAnalytics=@post.id}}
            >
                {{link.label}}
            </LinkTo>
            {{link.separator}}
        {{/each}}
    </Posts::PostActivityFeed::Link>
{{/if}}
