mirror of
https://github.com/discourse/discourse.git
synced 2024-12-17 01:33:42 +08:00
18 lines
339 B
Handlebars
18 lines
339 B
Handlebars
{{#if model.sortedData}}
|
|
<table class="table report {{model.type}}">
|
|
<tr>
|
|
<th>{{model.xaxis}}</th>
|
|
<th>{{model.yaxis}}</th>
|
|
</tr>
|
|
|
|
{{#each model.sortedData as |row|}}
|
|
<tr>
|
|
<td class="x-value">{{row.x}}</td>
|
|
<td>
|
|
{{row.y}}
|
|
</td>
|
|
</tr>
|
|
{{/each}}
|
|
</table>
|
|
{{/if}}
|