2022-07-06 01:41:31 +08:00
|
|
|
{{#if this.item.isUser}}
|
|
|
|
{{avatar this.item imageSize="tiny"}}
|
2023-01-16 06:09:23 +08:00
|
|
|
<div>
|
|
|
|
<span class="identifier">{{format-username this.item.id}}</span>
|
|
|
|
<span class="name">{{this.item.name}}</span>
|
|
|
|
</div>
|
2022-09-28 21:31:20 +08:00
|
|
|
{{#if (and this.item.showUserStatus this.item.status)}}
|
|
|
|
<UserStatusMessage @status={{this.item.status}} @showDescription={{true}} />
|
|
|
|
{{/if}}
|
2022-07-06 01:41:31 +08:00
|
|
|
{{decorate-username-selector this.item.id}}
|
|
|
|
{{else if this.item.isGroup}}
|
2021-02-01 18:07:11 +08:00
|
|
|
{{d-icon "users"}}
|
2023-01-16 06:09:23 +08:00
|
|
|
<div>
|
|
|
|
<span class="identifier">{{this.item.id}}</span>
|
|
|
|
<span class="name">{{this.item.full_name}}</span>
|
|
|
|
</div>
|
2021-02-01 18:07:11 +08:00
|
|
|
{{else}}
|
|
|
|
{{d-icon "envelope"}}
|
2022-07-06 01:41:31 +08:00
|
|
|
<span class="identifier">{{this.item.id}}</span>
|
2023-02-02 20:13:58 +08:00
|
|
|
{{/if}}
|