summaryrefslogtreecommitdiffstats
path: root/tpl/objects/status-indicator.pug
blob: 9b240e18b2ab0b517f529af99ed2a9107cbc2673 (plain) (blame)
1
2
3
4
5
6
7
8
mixin status-indicator(status)
    -
        let classes = {
            'o-status-indicator': true,
        }
        classes['is-' + status] = true

    div(class=classes)&attributes(attributes)