osem-fcy/app/views/application/_big_statistic.haml

13 lines
310 B
Text
Raw Normal View History

2018-09-26 12:23:59 -07:00
- reverse ||= false
- variant = variant_from_delta(delta, reverse: reverse)
2021-03-23 17:37:04 -07:00
.dashbox.panel.panel-primary
.paenl-body.text-center
%span.fa
= fa_icon(icon)
= value
%p
2018-09-26 12:23:59 -07:00
= subtitle.pluralize(value)
2021-03-23 17:37:04 -07:00
.label{ class: "label-#{variant}" }
= delta || 0
since last log in