From 376e1720d9730b99484fed592ff75c90f6165740 Mon Sep 17 00:00:00 2001 From: Emilie Date: Fri, 21 Oct 2016 12:27:01 +0200 Subject: [PATCH] Task #265: bug > readding custompage card on home --- app/templates/home/inc/body.html | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/app/templates/home/inc/body.html b/app/templates/home/inc/body.html index a360724e..f8b73838 100644 --- a/app/templates/home/inc/body.html +++ b/app/templates/home/inc/body.html @@ -12,6 +12,10 @@ {% with content.content_object as event %} {% include "agenda/includes/event_card.html" %} {% endwith %} + {% elif content.content_type.model == "custompage" %} + {% with content.content_object as page %} + {% include "pages/includes/page_card.html" %} + {% endwith %} {% endif %} {% endfor %} -- 2.39.5