mirror of
https://github.com/discourse/discourse.git
synced 2024-12-20 08:43:43 +08:00
371bbadb92
* Run no-implicit-this codemod for app templates * Run tagless-ember-components-codemod for plugins * Turn on no-implicit-this lint
14 lines
471 B
Handlebars
14 lines
471 B
Handlebars
{{#if this.item.isUser}}
|
|
{{avatar this.item imageSize="tiny"}}
|
|
<span class="identifier">{{format-username this.item.id}}</span>
|
|
<span class="name">{{this.item.name}}</span>
|
|
{{decorate-username-selector this.item.id}}
|
|
{{else if this.item.isGroup}}
|
|
{{d-icon "users"}}
|
|
<span class="identifier">{{this.item.id}}</span>
|
|
<span class="name">{{this.item.full_name}}</span>
|
|
{{else}}
|
|
{{d-icon "envelope"}}
|
|
<span class="identifier">{{this.item.id}}</span>
|
|
{{/if}}
|