From bc85c23150db6301da0e08ec50f7371200b2676f Mon Sep 17 00:00:00 2001 From: =?utf8?q?Fr=C3=A9d=C3=A9ric=20P=C3=A9ters?= Date: Fri, 29 Jul 2022 20:21:25 +0200 Subject: [PATCH] put episode with slug starting with "integrale" on emission page --- panikweb_esperanzah/templates/emissions/emission_detail.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/panikweb_esperanzah/templates/emissions/emission_detail.html b/panikweb_esperanzah/templates/emissions/emission_detail.html index 79d6933..e925da9 100644 --- a/panikweb_esperanzah/templates/emissions/emission_detail.html +++ b/panikweb_esperanzah/templates/emissions/emission_detail.html @@ -74,7 +74,7 @@ {% endif %} {% for episode in all_episodes %} - {% if episode.slug == "integrale" and episode.main_sound %} + {% if episode.slug|slice:":9" == "integrale" and episode.main_sound %}
{% audio sound=episode.main_sound %}
@@ -85,7 +85,7 @@
{% for episode in all_episodes %} - {% if episode.slug != "integrale" %} + {% if episode.slug|slice:":9" != "integrale" %}
-- 2.39.2