2022-03-01 17:57:57 +03:00
|
|
|
<section class="gh-member-details-activity" ...attributes>
|
|
|
|
<div class="gh-main-section-block">
|
|
|
|
<div class="gh-main-section-content">
|
|
|
|
<div class="flex items-center">
|
|
|
|
{{#if (or @member.name @member.email)}}
|
|
|
|
<GhMemberAvatar
|
|
|
|
@member={{@member}}
|
|
|
|
@sizeClass={{if @member.name 'f-subheadline fw4 lh-zero tracked-1' 'f-subheadline fw4 lh-zero tracked-1'}}
|
|
|
|
@containerClass="w20 h20 mr4 gh-member-detail-avatar"
|
|
|
|
/>
|
|
|
|
{{else}}
|
|
|
|
<div class="flex items-center justify-center br-100 mr4 gh-new-member-avatar">
|
|
|
|
<span class="gh-member-avatar-label f-subheadline lh-zero tracked-1">N</span>
|
|
|
|
</div>
|
|
|
|
{{/if}}
|
|
|
|
<div>
|
|
|
|
<h3>
|
|
|
|
{{or @member.name @member.email}}
|
|
|
|
{{#unless (or @member.name @member.email)}}
|
|
|
|
{{#if @member.isNew}}
|
|
|
|
<span class="midgrey">New member</span>
|
|
|
|
{{/if}}
|
|
|
|
{{/unless}}
|
|
|
|
</h3>
|
|
|
|
<p>
|
2022-03-09 19:59:27 +03:00
|
|
|
{{#if (and @member.name @member.email)}}
|
|
|
|
{{@member.email}}
|
|
|
|
{{/if}}
|
|
|
|
</p>
|
|
|
|
<p>
|
2023-01-11 17:44:23 +03:00
|
|
|
<LinkTo class="gh-member-details-activity-link" @route="member" @model={{@member}}>View member profile →</LinkTo>
|
2022-03-01 17:57:57 +03:00
|
|
|
</p>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</section>
|