]> git.parisson.com Git - mezzo.git/commitdiff
Task #265: bug > readding custompage card on home
authorEmilie <zawadzki@ircam.fr>
Fri, 21 Oct 2016 10:27:01 +0000 (12:27 +0200)
committerEmilie <zawadzki@ircam.fr>
Fri, 21 Oct 2016 10:27:01 +0000 (12:27 +0200)
app/templates/home/inc/body.html

index a360724eddbe69e2859d56a58a78c21c922e24f9..f8b738388356984f1fa8bbe1d3ada3561676cbe2 100644 (file)
                     {% 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 %}
             </div>
         {% endfor %}