mirror of
https://github.com/searxng/searxng
synced 2024-01-01 19:24:07 +01:00
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:
parent
1dffbd3390
commit
47ee15f5ce
9 changed files with 42 additions and 24 deletions
|
|
@ -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 %}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue