commit: 42692aa2c505463c3a35456a247ff71c42061213
parent 34b5d9566988652063c27b48d45b1cd02ddb3be5
Author: Cqoicebordel <Cqoicebordel@users.noreply.github.com>
Date: Mon, 8 Dec 2014 01:03:28 +0100
Add alt for img
Add alt in infobox image.
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/searx/templates/oscar/infobox.html b/searx/templates/oscar/infobox.html
@@ -3,7 +3,7 @@
<h4 class="panel-title">{{ infobox.infobox }}</h4>
</div>
<div class="panel-body">
- {% if infobox.img_src %}<img class="img-responsive center-block infobox_part" src="{{ infobox.img_src }}" />{% endif %}
+ {% if infobox.img_src %}<img class="img-responsive center-block infobox_part" src="{{ infobox.img_src }}" alt="{{ infobox.infobox }}" />{% endif %}
{% if infobox.content %}<p class="infobox_part">{{ infobox.content }}</p>{% endif %}
{% if infobox.attributes %}