2018-05-16 10:45:21 -04:00
|
|
|
{{#conditional-loading-section isLoading=isLoading}}
|
2018-04-16 04:42:06 -04:00
|
|
|
<div class="table-title">
|
2018-05-15 14:12:03 -04:00
|
|
|
<h3>{{title}}</h3>
|
2018-04-16 04:42:06 -04:00
|
|
|
</div>
|
|
|
|
|
2018-05-16 10:45:21 -04:00
|
|
|
{{#each reportsForPeriod as |report|}}
|
2018-05-15 14:12:03 -04:00
|
|
|
<div class="table-container">
|
2018-05-22 10:47:23 -04:00
|
|
|
{{#unless hasBlock}}
|
|
|
|
{{#each report.data as |data|}}
|
2018-05-23 18:46:25 -04:00
|
|
|
<a class="table-cell user-{{data.key}}" href="{{data.url}}">
|
2018-05-22 10:47:23 -04:00
|
|
|
<span class="label">
|
|
|
|
{{#if data.icon}}
|
|
|
|
{{d-icon data.icon}}
|
|
|
|
{{/if}}
|
2018-05-23 16:55:57 -04:00
|
|
|
{{data.x}}
|
2018-05-22 10:47:23 -04:00
|
|
|
</span>
|
|
|
|
<span class="value">
|
|
|
|
{{number data.y}}
|
|
|
|
</span>
|
2018-05-23 18:46:25 -04:00
|
|
|
</a>
|
2018-05-22 10:47:23 -04:00
|
|
|
{{/each}}
|
|
|
|
{{else}}
|
|
|
|
{{yield (hash report=report)}}
|
|
|
|
{{/unless}}
|
2018-05-15 14:12:03 -04:00
|
|
|
</div>
|
2018-05-16 10:45:21 -04:00
|
|
|
{{/each}}
|
2018-05-03 09:41:41 -04:00
|
|
|
{{/conditional-loading-section}}
|