]> git.0d.be Git - panikweb.git/blobdiff - panikweb_templates/templates/news/inline.html
templates: add empty alt attributes to icon images
[panikweb.git] / panikweb_templates / templates / news / inline.html
index 677a43b933532adc8b65dd20f87f77b7e813ee04..a7eb8ed9444b4617efaa73f1935614b35128055f 100644 (file)
                <div class="logo">
                {% if class == "special" and content.image %}
                        {% thumbnail content.image "480x320" crop="50% 25%" as im %}
-                       <img class="normal" src="{{im.url}}"/>
+                       <img alt="" class="normal" src="{{im.url}}"/>
                        {% endthumbnail %}
                {% elif content.image %}
                        {% thumbnail content.image "60x60" crop="50% 25%" as im %}
-                       <img class="left" width="60" height="60" src="{{im.url}}"/>
+                       <img alt="" class="left" width="60" height="60" src="{{im.url}}"/>
                        {% endthumbnail %}
                {% elif content.emission.image %}
                        {% thumbnail content.emission.image "60x60" crop="50% 25%" as im %}
-                       <img class="left" width="60" height="60" src="{{im.url}}"/>
+                       <img alt="" class="left" width="60" height="60" src="{{im.url}}"/>
                        {% endthumbnail %}
                {% else %}
-                       <img class="left" width="60" height="60" src="{% static "img/actu.png" %}"/>
+                       <img alt="" class="left" width="60" height="60" src="{% static "img/actu.png" %}"/>
                {% endif %}
                </div>
                <div class="content">