From 07ae7ea00156bb53e90b314f3fbfb18cc74e2b32 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20P=C3=A9ters?= Date: Thu, 28 Jun 2018 12:24:15 +0200 Subject: [PATCH] emissions: don't include metadata div if there are none --- panikweb_templates/templates/emissions/detail.html | 2 ++ 1 file changed, 2 insertions(+) diff --git a/panikweb_templates/templates/emissions/detail.html b/panikweb_templates/templates/emissions/detail.html index 393364e..36e037c 100644 --- a/panikweb_templates/templates/emissions/detail.html +++ b/panikweb_templates/templates/emissions/detail.html @@ -1,6 +1,7 @@ {% load i18n paniktags %}
+ {% if schedules or emission.subtitle %}
{% if schedules %}
    @@ -19,6 +20,7 @@

    {{ emission.subtitle }}

    {% endif %}
+ {% endif %} {% if emission.image %} {% endif %} -- GitLab