discourse/app/assets/javascripts/admin/addon/templates/components/flag-user.hbs

26 lines
651 B
Handlebars

<div class="flag-user">
<LinkTo
@route="adminUser"
@models={{array this.user.id this.user.username}}
class="flag-user-avatar"
>
{{avatar this.user imageSize="small"}}
</LinkTo>
<div class="flag-user-details">
<div class="flag-user-who">
<LinkTo
@route="adminUser"
@models={{array this.user.id this.user.username}}
class="flag-user-username"
>
{{this.user.username}}
</LinkTo>
<div title={{raw-date this.date}} class="flag-user-date">
{{format-age this.date}}
</div>
</div>
<div class="flag-user-extra">
{{yield}}
</div>
</div>
</div>