summaryrefslogtreecommitdiff
path: root/searx/templates
diff options
context:
space:
mode:
authorMarkus Heiser <markus.heiser@darmarIT.de>2020-06-24 17:07:05 +0000
committerGitHub <noreply@github.com>2020-06-24 17:07:05 +0000
commit34264f0b0aff2a1bc33f64591e2095f4ce17a3e1 (patch)
treea9b8ad94dfbc8b8272bbe7d5024dcf73c712b38b /searx/templates
parent4c7b7870044e17167e1f3025bc192a492b908be9 (diff)
parenta984afd6a32ec3bd5011659362afaf81a4bc787e (diff)
Merge branch 'master' into proxify-dataurl
Diffstat (limited to 'searx/templates')
-rw-r--r--searx/templates/oscar/infobox.html2
-rw-r--r--searx/templates/oscar/macros.html1
2 files changed, 2 insertions, 1 deletions
diff --git a/searx/templates/oscar/infobox.html b/searx/templates/oscar/infobox.html
index 04f2d5f22..6ae7965b6 100644
--- a/searx/templates/oscar/infobox.html
+++ b/searx/templates/oscar/infobox.html
@@ -5,7 +5,7 @@
{% for u in infobox.urls %}{% if u.official %} <a href="{{ u.url }}">{{ u.domain }}</a>{% endif %}{% endfor %}
</div>
<div class="panel-body">
- {% if infobox.img_src %}<img class="img-responsive center-block infobox_part" src="{{ image_proxify(infobox.img_src) }}" alt="{{ infobox.infobox }}" />{% endif %}
+ {% if infobox.img_src %}<img class="img-responsive center-block infobox_part" src="{{ image_proxify(infobox.img_src) }}" />{% endif %}
{% if infobox.content %}<bdi><p class="infobox_part">{{ infobox.content | safe }}</p></bdi>{% endif %}
diff --git a/searx/templates/oscar/macros.html b/searx/templates/oscar/macros.html
index d2d1dc643..c4b2a7ddb 100644
--- a/searx/templates/oscar/macros.html
+++ b/searx/templates/oscar/macros.html
@@ -91,6 +91,7 @@
<span class="onoffswitch-inner"></span>
<span class="onoffswitch-switch"></span>
</label>
+ <label class="visually-hidden" for="{{ id }}">{{ _('Allow') }}</label>
</div>
{%- endmacro %}