From: Jérémy Fabre Date: Tue, 7 Feb 2017 14:02:23 +0000 (+0100) Subject: We can add text links to the header now X-Git-Url: https://git.parisson.com/?a=commitdiff_plain;h=97ec071fec62238d255fc5120361a703af2ee9a8;p=mezzo.git We can add text links to the header now --- diff --git a/app/templates/pages/menus/header.html b/app/templates/pages/menus/header.html index aa46ff85..22611127 100644 --- a/app/templates/pages/menus/header.html +++ b/app/templates/pages/menus/header.html @@ -26,11 +26,17 @@ {% endif %} {% if page.in_menu %} {% if page.content_model == "link" %} - + {% with page.link.link_images.all|first as link_image %} + {% if link_image %} + + {% else %} + + {% endif %} + {% endwith %} {% else %}