diff options
Diffstat (limited to 'searx/templates/oscar/macros.html')
-rw-r--r-- | searx/templates/oscar/macros.html | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/searx/templates/oscar/macros.html b/searx/templates/oscar/macros.html index c35a19158..6235bcc62 100644 --- a/searx/templates/oscar/macros.html +++ b/searx/templates/oscar/macros.html @@ -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 %} |