fix deprecations in admin reports

This commit is contained in:
Neil Lalonde 2015-07-03 12:00:59 -04:00
parent 822d77713c
commit 67135a472a

View File

@ -1,4 +1,4 @@
<h3>{{title}}</h3> <h3>{{model.title}}</h3>
<div> <div>
{{i18n 'admin.dashboard.reports.start_date'}} {{input type="date" value=startDate}} {{i18n 'admin.dashboard.reports.start_date'}} {{input type="date" value=startDate}}
@ -24,11 +24,11 @@
{{#conditional-loading-spinner condition=refreshing}} {{#conditional-loading-spinner condition=refreshing}}
<table class='table report'> <table class='table report'>
<tr> <tr>
<th>{{xaxis}}</th> <th>{{model.xaxis}}</th>
<th>{{yaxis}}</th> <th>{{model.yaxis}}</th>
</tr> </tr>
{{#each row in dataReversed}} {{#each row in model.dataReversed}}
<tr> <tr>
<td>{{row.x}}</td> <td>{{row.x}}</td>
<td> <td>