discourse/app/assets/javascripts/admin/templates/components/admin-report-counts.hbs

23 lines
828 B
Handlebars
Raw Normal View History

2015-05-14 12:53:33 -04:00
<td class="title">
{{#if report.icon}}
{{d-icon report.icon}}
2015-05-14 12:53:33 -04:00
{{/if}}
<a href="{{report.reportUrl}}">{{report.title}}</a>
</td>
<td class="value">{{number report.todayCount}}</td>
<td class="value {{report.yesterdayTrend}}" title={{report.yesterdayCountTitle}}>
{{number report.yesterdayCount}} {{d-icon "caret-up" class="up"}} {{d-icon "caret-down" class="down"}}
</td>
2017-02-02 10:56:12 -05:00
<td class="value {{report.sevenDayTrend}}" title={{report.sevenDayCountTitle}}>
{{number report.lastSevenDaysCount}} {{d-icon "caret-up" class="up"}} {{d-icon "caret-down" class="down"}}
</td>
2017-02-02 10:56:12 -05:00
<td class="value {{report.thirtyDayTrend}}" title={{report.thirtyDayCountTitle}}>
{{number report.lastThirtyDaysCount}} {{d-icon "caret-up" class="up"}} {{d-icon "caret-down" class="down"}}
</td>
<td class="value">{{number report.total}}</td>