From: Emilie Date: Fri, 19 Aug 2016 16:12:50 +0000 (+0200) Subject: Home : moving shutter card X-Git-Url: https://git.parisson.com/?a=commitdiff_plain;h=07730db2b734d27d4bdcc91d65b45bba9629f2ae;p=mezzo.git Home : moving shutter card --- diff --git a/app/templates/core/inc/home_shutter_card.html b/app/templates/core/inc/home_shutter_card.html deleted file mode 100644 index 58a25ba8..00000000 --- a/app/templates/core/inc/home_shutter_card.html +++ /dev/null @@ -1,4 +0,0 @@ - -

{{ title }}

-

{{ description|truncatechars:100 }}

-
diff --git a/app/templates/home/inc/shutter_card.html b/app/templates/home/inc/shutter_card.html new file mode 100644 index 00000000..58a25ba8 --- /dev/null +++ b/app/templates/home/inc/shutter_card.html @@ -0,0 +1,4 @@ + +

{{ title }}

+

{{ description|truncatechars:100 }}

+
diff --git a/app/templates/pages/menus/magazine.html b/app/templates/pages/menus/magazine.html index 86288582..f94df310 100644 --- a/app/templates/pages/menus/magazine.html +++ b/app/templates/pages/menus/magazine.html @@ -5,7 +5,7 @@ {% if page_branch_in_menu %} {% for page in page_branch %} {% if page.in_menu %} - {% include "core/inc/home_shutter_card.html" with title=page.title description=page.description url_pattern=page.content_model|add:"-detail" slug=page.slug %} + {% include "home/inc/shutter_card.html" with title=page.title description=page.description url_pattern=page.content_model|add:"-detail" slug=page.slug %} {% endif %} {% endfor %} {% endif %}