From: Emilie Date: Thu, 1 Dec 2016 17:59:10 +0000 (+0100) Subject: Linked orga : add logo in custom page too X-Git-Url: https://git.parisson.com/?a=commitdiff_plain;h=3ac7331e4452b84e95658cd425c3b9ba0fb329e1;p=mezzo.git Linked orga : add logo in custom page too --- diff --git a/app/templates/pages/custompage.html b/app/templates/pages/custompage.html index ae57217b..e8c93f87 100644 --- a/app/templates/pages/custompage.html +++ b/app/templates/pages/custompage.html @@ -22,6 +22,12 @@ {% block page_content %} + {% with page.get_ascendants|last as top_level_parent %} + {% if LINKED_ORGA_CONTENT and RESEARCH_SLUG == top_level_parent.slug %} + {% include 'core/inc/linked_organization_content.html' %} + {% endif %} + {% endwith %} + {% if page.custompage.sub_title %} {% editable page.custompage.sub_title %}