discourse/app/assets/javascripts/admin/templates/components/admin-report-inline-table.hbs

16 lines
356 B
Handlebars

<div class="table-container">
{{#each model.data as |data|}}
<a class="table-cell user-{{data.key}}" href={{data.url}}>
<span class="label">
{{#if data.icon}}
{{d-icon data.icon}}
{{/if}}
{{data.x}}
</span>
<span class="value">
{{number data.y}}
</span>
</a>
{{/each}}
</div>