2022-01-25 14:50:10 +03:00
|
|
|
{{#let (parse-member-event @event) as |event|}}
|
2022-01-27 18:09:17 +03:00
|
|
|
<tr>
|
|
|
|
{{#unless @hideMemberColumn}}
|
|
|
|
<div class="gh-list-data">
|
|
|
|
<LinkTo @route="members-activity" @query={{hash member=event.member.id}}>
|
|
|
|
<div class="flex items-center">
|
|
|
|
<div class="gh-members-activity-avatar">
|
|
|
|
<!-- TODO: <GhMemberAvatar /> goes here -->
|
|
|
|
</div>
|
|
|
|
<div>
|
|
|
|
<h3 class="gh-members-activity-name">
|
|
|
|
{{event.member.name}}
|
|
|
|
</h3>
|
|
|
|
<div class="gh-members-activity-email">
|
|
|
|
{{event.member.email}}
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</LinkTo>
|
|
|
|
</div>
|
|
|
|
{{/unless}}
|
2022-01-25 14:50:10 +03:00
|
|
|
<div class="gh-list-data">
|
2022-01-26 14:18:58 +03:00
|
|
|
<div class="gh-members-activity-container">
|
|
|
|
<div class="gh-members-activity-icon">{{svg-jar event.icon}}</div>
|
2022-01-27 18:09:17 +03:00
|
|
|
<div class="gh-members-activity-event">
|
|
|
|
<span class="gh-members-activity-description">
|
|
|
|
{{event.action}}
|
|
|
|
{{event.object}}
|
|
|
|
</span>
|
|
|
|
{{#if event.email}}
|
|
|
|
"<GhEmailPreviewLink @data={{event.email}} />"
|
|
|
|
{{/if}}
|
|
|
|
<span class="highlight">{{event.info}}</span>
|
2022-01-26 14:18:58 +03:00
|
|
|
</div>
|
2022-01-26 12:52:51 +03:00
|
|
|
</div>
|
2022-01-25 14:50:10 +03:00
|
|
|
</div>
|
|
|
|
<div class="gh-list-data">{{moment-format event.timestamp "D MMM YYYY HH:MM"}}</div>
|
|
|
|
</tr>
|
2022-01-26 14:18:58 +03:00
|
|
|
{{/let}}
|