cat/resources/html/parts/colored-status.html

12 lines
278 B
HTML
Raw Permalink Normal View History

<span class='
{% ifequal rr.status "open" %}
has-text-info
{% else %}
{% ifequal rr.status "accepted" %}
has-text-success
{% else %}
has-text-danger
{% endifequal %}
{% endifequal %}'>
{{rr.status}}
</span>