From: Frédéric Péters Date: Wed, 22 Apr 2020 18:32:25 +0000 (+0200) Subject: templates: add empty alt attributes to icon images X-Git-Tag: v2021~177 X-Git-Url: https://git.0d.be/?p=panikweb.git;a=commitdiff_plain;h=7cb3032f29408bfdfd2ab37f7b754811b49ea8c7 templates: add empty alt attributes to icon images --- diff --git a/panikweb_templates/templates/combo/topik_menu_item.html b/panikweb_templates/templates/combo/topik_menu_item.html index 9519bd1..ff3b12b 100644 --- a/panikweb_templates/templates/combo/topik_menu_item.html +++ b/panikweb_templates/templates/combo/topik_menu_item.html @@ -6,14 +6,14 @@ {% with page|image_file as logo %} {% if logo %} {% thumbnail logo "60x60" crop="50% 25%" as im %} - + {% endthumbnail %} {% elif page.picture %} {% thumbnail page.picture "60x60" crop="50% 25%" as im %} - + {% endthumbnail %} {% else %} - + {% endif %} {% endwith %} diff --git a/panikweb_templates/templates/emissions/emission_detail.html b/panikweb_templates/templates/emissions/emission_detail.html index bf44c54..226dd17 100644 --- a/panikweb_templates/templates/emissions/emission_detail.html +++ b/panikweb_templates/templates/emissions/emission_detail.html @@ -100,7 +100,7 @@ {% if emission.image %} {% thumbnail emission.image "60x60" crop="50% 25%" as im %} {% endthumbnail %} {% endif %} diff --git a/panikweb_templates/templates/emissions/resume.html b/panikweb_templates/templates/emissions/resume.html index 0a18678..df832fe 100644 --- a/panikweb_templates/templates/emissions/resume.html +++ b/panikweb_templates/templates/emissions/resume.html @@ -5,10 +5,10 @@
diff --git a/panikweb_templates/templates/episodes/resume.html b/panikweb_templates/templates/episodes/resume.html index 1ea8b05..8ddea39 100644 --- a/panikweb_templates/templates/episodes/resume.html +++ b/panikweb_templates/templates/episodes/resume.html @@ -24,24 +24,24 @@ {% if model == "inline" and episode.image %} {% thumbnail episode.image "60x60" crop="50% 25%" as im %} - + {% endthumbnail %} {% elif model == "inline" and episode.emission.image %} {% thumbnail episode.emission.image "60x60" crop="50% 25%" as im %} - + {% endthumbnail %} {% elif model == "inline" %} - + {% elif episode.image %} {% thumbnail episode.image "150x150" crop="50% 25%" as im %} - + {% endthumbnail %} {% elif episode.emission.image %} {% thumbnail episode.emission.image "150x150" crop="50% 25%" as im %} - + {% endthumbnail %} {% else %} - + {% endif %}
diff --git a/panikweb_templates/templates/news/inline.html b/panikweb_templates/templates/news/inline.html index 677a43b..a7eb8ed 100644 --- a/panikweb_templates/templates/news/inline.html +++ b/panikweb_templates/templates/news/inline.html @@ -10,18 +10,18 @@
diff --git a/panikweb_templates/templates/panikombo/audio.html b/panikweb_templates/templates/panikombo/audio.html index 5b82b9f..62ac48b 100644 --- a/panikweb_templates/templates/panikombo/audio.html +++ b/panikweb_templates/templates/panikombo/audio.html @@ -4,14 +4,14 @@