mirror of
https://github.com/discourse/discourse.git
synced 2024-12-16 12:55:59 +08:00
28 lines
744 B
Handlebars
28 lines
744 B
Handlebars
{{#conditional-loading-section isLoading=isLoading}}
|
|
<div class="table-title">
|
|
<h3>{{title}}</h3>
|
|
</div>
|
|
|
|
{{#each reportsForPeriod as |report|}}
|
|
<div class="table-container">
|
|
{{#unless hasBlock}}
|
|
{{#each report.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}}
|
|
{{else}}
|
|
{{yield (hash report=report)}}
|
|
{{/unless}}
|
|
</div>
|
|
{{/each}}
|
|
{{/conditional-loading-section}}
|