2022-05-04 11:21:42 +03:00
|
|
|
|
{{#let (parse-member-event @event @hasMultipleNewsletters) 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">
|
2022-01-27 20:13:59 +03:00
|
|
|
|
<GhMemberAvatar @member={{event.member}} @containerClass="w9 h9 mr3 flex-shrink-0" />
|
|
|
|
|
<div class="w-80">
|
2022-08-24 17:11:25 +03:00
|
|
|
|
<h3 class="ma0 pa0 gh-members-list-name {{unless event.member.name "gh-members-name-noname"}}">{{event.subject}}</h3>
|
2022-01-27 20:13:59 +03:00
|
|
|
|
{{#if event.member.name}}
|
|
|
|
|
<p class="ma0 pa0 middarkgrey f8 gh-members-list-email">{{event.member.email}}</p>
|
|
|
|
|
{{/if}}
|
2022-01-27 18:09:17 +03:00
|
|
|
|
</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">
|
2022-08-25 16:19:55 +03:00
|
|
|
|
<span class="gh-members-activity-description {{if (feature "memberAttribution") 'feature-memberAttribution'}}">
|
|
|
|
|
<span class="gh-members-activity-event-text">{{capitalize-first-letter event.action}}</span>
|
2022-08-25 16:27:14 +03:00
|
|
|
|
{{#if event.info}}
|
|
|
|
|
<span class="highlight">{{event.info}}</span>
|
|
|
|
|
{{/if}}
|
2022-08-25 16:19:55 +03:00
|
|
|
|
{{#if event.url}}
|
|
|
|
|
<span class="gh-members-activity-event-join">{{event.join}}</span>
|
2022-09-27 14:29:08 +03:00
|
|
|
|
{{#if (feature "emailClicks")}}<span class="gh-members-activity-event-dash">–</span>{{/if}}
|
2022-08-24 17:11:25 +03:00
|
|
|
|
<a class="ghost-members-activity-object-link" href="{{event.url}}" target="_blank" rel="noopener noreferrer">{{event.object}}</a>
|
2022-08-22 20:37:42 +03:00
|
|
|
|
{{/if}}
|
|
|
|
|
{{#if event.email}}
|
2022-09-27 14:29:08 +03:00
|
|
|
|
{{#if (feature "emailClicks")}}<span class="gh-members-activity-event-dash">–</span>{{/if}}
|
|
|
|
|
<GhEmailPreviewLink @data={{event.email}} />
|
2022-08-22 20:37:42 +03:00
|
|
|
|
{{/if}}
|
2022-01-27 18:09:17 +03:00
|
|
|
|
</span>
|
2022-09-21 11:25:51 +03:00
|
|
|
|
{{#if event.description}}
|
2022-09-22 20:00:48 +03:00
|
|
|
|
<div class="ghost-members-activity-event-description {{if (feature "memberAttribution") 'feature-memberAttribution'}}">
|
2022-09-22 15:44:40 +03:00
|
|
|
|
<div class="ghost-members-activity-event-url" {{on "mouseenter" this.enterLinkURL}} {{on "mouseleave" this.leaveLinkURL}}>
|
|
|
|
|
<span>{{event.description}}</span>
|
|
|
|
|
</div>
|
2022-09-21 11:25:51 +03:00
|
|
|
|
</div>
|
|
|
|
|
{{/if}}
|
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>
|
2022-08-22 15:32:36 +03:00
|
|
|
|
<div class="gh-list-data gh-list-data-date">{{moment-format event.timestamp "DD MMM YYYY HH:mm"}}</div>
|
2022-01-25 14:50:10 +03:00
|
|
|
|
</tr>
|
2022-01-26 14:18:58 +03:00
|
|
|
|
{{/let}}
|