33 lines
734 B
Handlebars
33 lines
734 B
Handlebars
{{#conditional-loading-section isLoading=isLoading title=report.title}}
|
|
<div class="table-title">
|
|
<h3>{{report.title}}</h3>
|
|
|
|
{{#if help}}
|
|
<a href="{{helpPage}}">{{i18n help}}</a>
|
|
{{/if}}
|
|
</div>
|
|
|
|
<div class="table-container">
|
|
<table>
|
|
<thead>
|
|
<tr>
|
|
{{#each labels as |label|}}
|
|
<th>{{label}}</th>
|
|
{{/each}}
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<tr>
|
|
{{#unless hasBlock}}
|
|
{{#each values as |value|}}
|
|
<td>{{number value}}</td>
|
|
{{/each}}
|
|
{{else}}
|
|
{{yield (hash report=report)}}
|
|
{{/unless}}
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
{{/conditional-loading-section}}
|