2021-02-08 19:22:53 +03:00
|
|
|
<div class="gh-member-feed" ...attributes>
|
2021-02-10 23:05:54 +03:00
|
|
|
<div class="flex-auto flex flex-column items-stretch {{if this.activities "justify-between" "h-100 justify-center"}}">
|
2021-02-08 16:55:14 +03:00
|
|
|
<div>
|
2020-12-16 12:04:33 +03:00
|
|
|
{{#if this.activities}}
|
|
|
|
{{#each this.firstActivities as |activity|}}
|
2020-12-10 14:38:38 +03:00
|
|
|
<GhMemberActivityFeedItem @activity={{activity}} />
|
|
|
|
{{/each}}
|
|
|
|
|
2020-12-16 12:04:33 +03:00
|
|
|
{{#liquid-if this.isShowingAll class="show-overflow"}}
|
|
|
|
{{#each this.remainingActivities as |activity|}}
|
|
|
|
<GhMemberActivityFeedItem @activity={{activity}} />
|
|
|
|
{{/each}}
|
|
|
|
{{/liquid-if}}
|
|
|
|
|
|
|
|
{{#if (and this.remainingActivities (not this.isShowingAll))}}
|
|
|
|
<button
|
|
|
|
type="button"
|
|
|
|
class="mt4 mb1 ml5 gh-btn gh-btn-icon gh-member-btn-expandfeed"
|
|
|
|
data-test-button="view-all-activity"
|
|
|
|
{{on "click" this.showAll}}
|
|
|
|
>
|
|
|
|
<span>View all activity</span>
|
|
|
|
</button>
|
|
|
|
{{/if}}
|
|
|
|
{{else}}
|
2021-02-23 15:54:20 +03:00
|
|
|
<div class="gh-no-data-list">
|
|
|
|
{{svg-jar "no-data-list"}}
|
|
|
|
<span>No member activity.</span>
|
|
|
|
</div>
|
2020-12-10 14:38:38 +03:00
|
|
|
{{/if}}
|
2020-12-16 12:04:33 +03:00
|
|
|
</div>
|
2020-12-10 14:38:38 +03:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
{{#if this.emailPreview}}
|
|
|
|
<GhFullscreenModal @modal="post-email-preview"
|
|
|
|
@model={{this.emailPreview}}
|
|
|
|
@close={{this.closeEmailPreview}}
|
|
|
|
@modifier="full-overlay email-preview" />
|
|
|
|
{{/if}}
|