mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-11-30 11:54:33 +03:00
30 lines
1.3 KiB
Handlebars
30 lines
1.3 KiB
Handlebars
{{#let (parse-member-event @event) as |event|}}
|
|
<tr>
|
|
<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-detail">
|
|
{{#unless @hideMemberColumn}}
|
|
<div class="gh-members-activity-name">
|
|
<LinkTo @route="member" @model={{event.memberId}}>
|
|
{{event.member.name}}{{#unless event.member.name}}{{event.member.email}}{{/unless}}
|
|
</LinkTo>
|
|
</div>
|
|
{{/unless}}
|
|
<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>
|
|
<div class="gh-list-data">{{moment-format event.timestamp "D MMM YYYY HH:MM"}}</div>
|
|
</tr>
|
|
{{/let}}
|