From 88b642bbfea0e121e3fbf8fbd6909cfc55efabb8 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Je=CC=81re=CC=81my=20Fabre?= Date: Thu, 22 Sep 2016 18:13:37 +0200 Subject: [PATCH] Fix logos --- app/templates/pages/departmentpage.html | 20 +++++++++++++++++--- app/templates/pages/teampage.html | 20 +++++++++++++++++--- 2 files changed, 34 insertions(+), 6 deletions(-) diff --git a/app/templates/pages/departmentpage.html b/app/templates/pages/departmentpage.html index 18698fd4..541f73d0 100644 --- a/app/templates/pages/departmentpage.html +++ b/app/templates/pages/departmentpage.html @@ -106,7 +106,21 @@ {% endblock %} {% block logo %} - {% with page.departmentpage.images.all|get_type:'logo' as images %} - {% include 'core/inc/logo.html' %} - {% endwith %} + {% with page.departmentpage.images.all|get_type:'logo' as images %} + {% if images %} +
+
+
+
+
+
    + {% include 'core/inc/logo.html' %} +
+
+
+
+
+
+ {% endif %} + {% endwith %} {% endblock %} diff --git a/app/templates/pages/teampage.html b/app/templates/pages/teampage.html index 2484a7f0..c9f5dc1a 100644 --- a/app/templates/pages/teampage.html +++ b/app/templates/pages/teampage.html @@ -116,7 +116,21 @@ {% endblock %} {% block logo %} - {% with page.teampage.images.all|get_type:'logo' as images %} - {% include 'core/inc/logo.html' %} - {% endwith %} + {% with page.teampage.images.all|get_type:'logo' as images %} + {% if images %} +
+
+
+
+
+
    + {% include 'core/inc/logo.html' %} +
+
+
+
+
+
+ {% endif %} + {% endwith %} {% endblock %} -- 2.39.5