preferences: make supported/not supported labels

Also, Time range support display was missing from RTL locales.
Now it is fixed.

Closes #558
This commit is contained in:
Noémi Ványi 2017-10-06 21:50:59 +02:00
parent 1dffbd3390
commit 47ee15f5ce
9 changed files with 42 additions and 24 deletions

View file

@ -85,3 +85,15 @@
</label>
</div>
{%- endmacro %}
{% macro support_toggle(supports) -%}
{% if supports %}
<span class="label label-success">
{{ _("supported") }}
</span>
{% else %}
<span class="label label-danger">
{{ _("not supported") }}
</span>
{% endif %}
{%- endmacro %}