mirror of
https://github.com/discourse/discourse.git
synced 2024-11-25 07:51:36 +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}}
|