From 609a49cdbb825c6aa7dbaa54884758d7c62c36ad Mon Sep 17 00:00:00 2001 From: PCoder Date: Wed, 22 Nov 2017 00:20:06 +0100 Subject: [PATCH] Add section_products and _products_item templates --- .../ungleich/_products_item.html | 6 ++++++ .../ungleich/section_products.html | 20 +++++++++++++++++++ 2 files changed, 26 insertions(+) create mode 100644 ungleich_page/templates/ungleich_page/ungleich/_products_item.html create mode 100644 ungleich_page/templates/ungleich_page/ungleich/section_products.html diff --git a/ungleich_page/templates/ungleich_page/ungleich/_products_item.html b/ungleich_page/templates/ungleich_page/ungleich/_products_item.html new file mode 100644 index 00000000..0a09640d --- /dev/null +++ b/ungleich_page/templates/ungleich_page/ungleich/_products_item.html @@ -0,0 +1,6 @@ + +
+

{{ instance.title }}

+

 

+

{{ instance.description }}

+
\ No newline at end of file diff --git a/ungleich_page/templates/ungleich_page/ungleich/section_products.html b/ungleich_page/templates/ungleich_page/ungleich/section_products.html new file mode 100644 index 00000000..8eb2f312 --- /dev/null +++ b/ungleich_page/templates/ungleich_page/ungleich/section_products.html @@ -0,0 +1,20 @@ +{% load cms_tags custom_tags %} +
+
+
+
+
+

{{ product_instance.title }}

+

{{ product_instance.sub_title }}

+
+
+
+ {% for plugin in product_instance.child_plugin_instances %} +
+ {% render_plugin plugin %} +
+ {% endfor %} +
+
+
+
\ No newline at end of file