mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-11-30 11:54:33 +03:00
bbf1f38703
refs https://github.com/TryGhost/Team/issues/1277 - used the `<GhEmailPreviewLink>` component to display the email's subject inside the activity feed that when clicked opens the email preview modal
22 lines
701 B
Handlebars
22 lines
701 B
Handlebars
{{#let (parse-member-event @event) as |event|}}
|
|
<tr>
|
|
<div class="gh-list-data">
|
|
<LinkTo @route="member" @model={{event.memberId}}>
|
|
<strong>{{event.member.name}}</strong>
|
|
<br>
|
|
{{event.member.email}}
|
|
</LinkTo>
|
|
</div>
|
|
<div class="gh-list-data">
|
|
{{event.action}}
|
|
{{event.object}}
|
|
|
|
{{#if event.email}}
|
|
"<GhEmailPreviewLink @data={{event.email}} />"
|
|
{{/if}}
|
|
|
|
<span class="highlight">{{event.info}}</span>
|
|
</div>
|
|
<div class="gh-list-data">{{moment-format event.timestamp "D MMM YYYY HH:MM"}}</div>
|
|
</tr>
|
|
{{/let}} |