mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-22 10:21:36 +03:00
fa224988e5
refs https://github.com/TryGhost/Team/issues/1277 - changed breadcrumb for activity - added back in three columns for activity when not filtered - made adjustments to visual look and feel
40 lines
1.7 KiB
Handlebars
40 lines
1.7 KiB
Handlebars
{{#let (parse-member-event @event) as |event|}}
|
|
<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}}
|
|
<div class="gh-list-data">
|
|
<div class="gh-members-activity-container">
|
|
<div class="gh-members-activity-icon">{{svg-jar event.icon}}</div>
|
|
<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>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="gh-list-data">{{moment-format event.timestamp "D MMM YYYY HH:MM"}}</div>
|
|
</tr>
|
|
{{/let}}
|