35 lines
938 B
Handlebars
35 lines
938 B
Handlebars
|
<div class="cell title">
|
||
|
{{#if this.model.icon}}
|
||
|
{{d-icon this.model.icon}}
|
||
|
{{/if}}
|
||
|
<a href="{{this.filterURL}}{{this.model.type}}">{{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>
|