Add title and alt on image in infobox

This commit is contained in:
Cqoicebordel 2014-12-10 18:27:08 +01:00
parent 5104552937
commit 8fb6ea1bf1

View File

@ -1,6 +1,6 @@
<div class="infobox">
<h2>{{ infobox.infobox }}</h2>
{% if infobox.img_src %}<img src="{{ infobox.img_src }}" />{% endif %}
{% if infobox.img_src %}<img src="{{ infobox.img_src }}" title="{{ infobox.infobox|striptags }}" alt="{{ infobox.infobox|striptags }}" />{% endif %}
<p>{{ infobox.entity }}</p>
<p>{{ infobox.content | safe }}</p>
{% if infobox.attributes %}
@ -42,3 +42,4 @@
<br />
</div>
name=