]> git.parisson.com Git - mezzo.git/commitdiff
Add second block part (fix #257)
authorGuillaume Pellerin <guillaume.pellerin@ircam.fr>
Tue, 25 Oct 2016 22:24:55 +0000 (00:24 +0200)
committerGuillaume Pellerin <guillaume.pellerin@ircam.fr>
Tue, 25 Oct 2016 22:24:55 +0000 (00:24 +0200)
app/templates/pages/page.html
app/templates/pages/teampage.html

index 40d89fc6fa141d9419c899582752f2ecab08453b..10a827bc1eb30ae86c774bedb14378201ed26230 100644 (file)
             {% block products %}
             {% endblock %}
 
+            {% block page_sub_content_2 %}
+            {% endblock %}
+
             {% block logo %}
             {% endblock %}
 
index 049032306c25068e65f893ed52751d817165ac94..fe2977d4212f049fcc3f7c772a225e3e37623b9b 100644 (file)
@@ -77,7 +77,7 @@
 {% endblock %}
 
 {% block page_sub_content %}
-    {% with object.blocks.all|slice:'1' as blocks %}
+    {% with page.teampage.blocks.all|slice:'1' as blocks %}
         {% include "core/inc/block.html" %}
     {% endwith %}
 {% endblock %}
 {% endblock %}
 
 {% block page_sub_content_2 %}
-    {% with object.blocks.all|slice:'2:' as blocks %}
+    {% with page.teampage.blocks.all|slice:'2:' as blocks %}
         {% include "core/inc/block.html" %}
     {% endwith %}
 {% endblock %}