mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-22 02:11:44 +03:00
69e7bad5d1
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
14 lines
384 B
Handlebars
14 lines
384 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}} />
|
|
{{/each}}
|
|
</tbody>
|
|
</table> |