mirror of
https://github.com/discourse/discourse.git
synced 2024-11-28 23:14:20 +08:00
35 lines
923 B
Handlebars
35 lines
923 B
Handlebars
<div class="cell title">
|
|
{{#if this.model.icon}}
|
|
{{d-icon this.model.icon}}
|
|
{{/if}}
|
|
<a href={{this.model.reportUrl}}>{{this.model.title}}</a>
|
|
</div>
|
|
|
|
<div class="cell value today-count">{{number this.model.todayCount}}</div>
|
|
|
|
<div
|
|
class="cell value yesterday-count {{this.model.yesterdayTrend}}"
|
|
title={{this.model.yesterdayCountTitle}}
|
|
>
|
|
{{number this.model.yesterdayCount}}
|
|
{{d-icon this.model.yesterdayTrendIcon}}
|
|
</div>
|
|
|
|
<div
|
|
class="cell value sevendays-count {{this.model.sevenDaysTrend}}"
|
|
title={{this.model.sevenDaysCountTitle}}
|
|
>
|
|
{{number this.model.lastSevenDaysCount}}
|
|
{{d-icon this.model.sevenDaysTrendIcon}}
|
|
</div>
|
|
|
|
<div
|
|
class="cell value thirty-days-count {{this.model.thirtyDaysTrend}}"
|
|
title={{this.model.thirtyDaysCountTitle}}
|
|
>
|
|
{{number this.model.lastThirtyDaysCount}}
|
|
|
|
{{#if this.model.canDisplayTrendIcon}}
|
|
{{d-icon this.model.thirtyDaysTrendIcon}}
|
|
{{/if}}
|
|
</div> |