discourse/app/assets/javascripts/admin/addon/templates/components/flag-user.hbs
Peter Wagenet 371bbadb92
No implicit this codemod (#17235)
* Run no-implicit-this codemod for app templates
* Run tagless-ember-components-codemod for plugins
* Turn on no-implicit-this lint
2022-07-05 19:41:31 +02:00

19 lines
606 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>