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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

25 lines
758 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>
2015-05-14 12:53:33 -04:00
</td>
<td class="value">{{number report.todayCount}}</td>
<td class="value {{report.yesterdayTrend}}" title={{report.yesterdayCountTitle}}>
{{number report.yesterdayCount}} {{d-icon report.yesterdayTrendIcon}}
</td>
<td class="value {{report.sevenDaysTrend}}" title={{report.sevenDaysCountTitle}}>
{{number report.lastSevenDaysCount}} {{d-icon report.sevenDaysTrendIcon}}
</td>
<td class="value {{report.thirtyDaysTrend}}" title={{report.thirtyDaysCountTitle}}>
{{number report.lastThirtyDaysCount}} {{d-icon report.thirtyDaysTrendIcon}}
</td>
{{#if allTime}}
<td class="value">{{number report.total}}</td>
{{/if}}