mirror of
https://github.com/discourse/discourse.git
synced 2024-11-25 09:42:07 +08:00
0e414d0890
This commit also improves how data is loaded sync and async
32 lines
636 B
Handlebars
32 lines
636 B
Handlebars
{{#conditional-loading-spinner condition=isLoading}}
|
|
<div class="table-title">
|
|
<h3>{{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>
|
|
{{#each values as |value|}}
|
|
<tr>
|
|
{{#each value as |v|}}
|
|
<td>{{v}}</td>
|
|
{{/each}}
|
|
</tr>
|
|
{{/each}}
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
{{/conditional-loading-spinner}}
|