From 0f8f26c8a0ae4c147fce18fc982d7681818a28ff Mon Sep 17 00:00:00 2001 From: krmax44 Date: Mon, 14 Mar 2022 14:10:55 +0100 Subject: [PATCH] check if section attributes exist --- froide_govplan/templates/froide_govplan/plugins/sections.html | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/froide_govplan/templates/froide_govplan/plugins/sections.html b/froide_govplan/templates/froide_govplan/plugins/sections.html index 5afd809..f1cfc02 100644 --- a/froide_govplan/templates/froide_govplan/plugins/sections.html +++ b/froide_govplan/templates/froide_govplan/plugins/sections.html @@ -2,9 +2,11 @@ @@ -16,11 +18,13 @@

{{ section.title }}

+ {% if section.icon %}
+ {% endif %}
progress bar