Ghost/ghost/admin/app/components/members-activity/table.hbs
Simon Backx 6adecb5db1 Removed newsletter name from activity feed if no multiple newsletters
refs https://github.com/TryGhost/Team/issues/1563

- Check if we have multiple newsletters in the members-events-fetcher
- Pass the resulting value to the `parse-member-event` helper
- Pass the value to the activity feed table and table-row components
2022-05-04 10:23:32 +02:00

17 lines
467 B
Handlebars

<table class="gh-list">
<thead>
<tr>
{{#unless @hideMemberColumn}}
<th>Member</th>
{{/unless}}
<th>Event</th>
<th>Time</th>
</tr>
</thead>
<tbody>
{{#each @events as |event|}}
<MembersActivity::TableRow @hideMemberColumn={{@hideMemberColumn}} @event={{event}} @hasMultipleNewsletters={{@hasMultipleNewsletters}} />
{{/each}}
</tbody>
</table>