mirror of
https://github.com/discourse/discourse.git
synced 2024-12-11 19:33:39 +08:00
13 lines
385 B
Handlebars
13 lines
385 B
Handlebars
|
{{#if item.isUser}}
|
||
|
{{avatar item imageSize="tiny"}}
|
||
|
<span class="identifier">{{format-username item.id}}</span>
|
||
|
<span class="name">{{item.name}}</span>
|
||
|
{{else if item.isGroup}}
|
||
|
{{d-icon "users"}}
|
||
|
<span class="identifier">{{item.id}}</span>
|
||
|
<span class="name">{{item.full_name}}</span>
|
||
|
{{else}}
|
||
|
{{d-icon "envelope"}}
|
||
|
<span class="identifier">{{item.id}}</span>
|
||
|
{{/if}}
|