From 7cb3032f29408bfdfd2ab37f7b754811b49ea8c7 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Fr=C3=A9d=C3=A9ric=20P=C3=A9ters?= Date: Wed, 22 Apr 2020 20:32:25 +0200 Subject: [PATCH] templates: add empty alt attributes to icon images --- .../templates/combo/topik_menu_item.html | 6 +++--- .../templates/emissions/emission_detail.html | 2 +- panikweb_templates/templates/emissions/resume.html | 4 ++-- panikweb_templates/templates/episodes/resume.html | 12 ++++++------ panikweb_templates/templates/news/inline.html | 8 ++++---- panikweb_templates/templates/panikombo/audio.html | 6 +++--- panikweb_templates/templates/panikombo/episode.html | 6 +++--- .../templates/panikombo/episode_auto_selection.html | 6 +++--- panikweb_templates/templates/soundfiles/embed.html | 6 +++--- panikweb_templates/templates/soundfiles/resume.html | 6 +++--- 10 files changed, 31 insertions(+), 31 deletions(-) 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 @@