Ghost/ghost/admin/app/components/members-activity/no-events.hbs
Kevin Ansfield 69e7bad5d1 Added member details and hid member column on activity feed when filtered by member
refs https://github.com/TryGhost/Team/issues/1277

- extracted member details display into a `<GhMemberDetails>` component for re-use in the member details and members-activity screens
- added loading of member record from the member id query param and displayed the member details above the table when a member filter is present
- hid the member column in the events table when a member filter is present
  - it's useless/repeated info at that point
2022-01-25 16:40:51 +00:00

13 lines
495 B
Handlebars

<div class="no-posts-box">
<div class="no-posts">
{{svg-jar "members-placeholder" class="gh-members-placeholder"}}
{{#if @filter}}
<h3>No activities match the current filter</h3>
<LinkTo @route="members-activity" @query={{reset-query-params "members-activity"}} class="gh-btn gh-btn-lg">
<span>Show all activity</span>
</LinkTo>
{{else}}
<h3>No member activity yet</h3>
{{/if}}
</div>
</div>