summaryrefslogtreecommitdiff
path: root/searx/templates/simple/macros.html
diff options
context:
space:
mode:
authorNoémi Ványi <kvch@users.noreply.github.com>2020-12-09 22:48:10 +0100
committerGitHub <noreply@github.com>2020-12-09 22:48:10 +0100
commit820b468bfe96f693d60ce06f1e78af51f00deefc (patch)
treee87938d67386bb7d0272c14e1902867eeb152676 /searx/templates/simple/macros.html
parent42a194898baf96e15edeb9268fbec5ecd4423c09 (diff)
parent3a63dfbdd7ff53c2e083915b0dea481a6ea0aaaa (diff)
Merge pull request #2373 from kvch/display-https-engines
Display if an engine does not support HTTPS requests
Diffstat (limited to 'searx/templates/simple/macros.html')
-rw-r--r--searx/templates/simple/macros.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/searx/templates/simple/macros.html b/searx/templates/simple/macros.html
index cacbbec9f..1eb42667a 100644
--- a/searx/templates/simple/macros.html
+++ b/searx/templates/simple/macros.html
@@ -1,6 +1,6 @@
<!-- Draw glyphicon icon from bootstrap-theme -->
-{% macro icon(action) -%}
- <span class="ion-icon-big ion-{{ action }}"></span>
+{% macro icon(action, alt) -%}
+ <span title="{{ alt }}" class="ion-icon-big ion-{{ action }}"></span>
{%- endmacro %}
{% macro icon_small(action) -%}