From df2068b65ac7f637473606f1ed95ec9ec843b493 Mon Sep 17 00:00:00 2001 From: SDE Date: Mon, 11 Dec 2023 12:45:35 +0300 Subject: [PATCH] 0.4.8 get widgets fix --- templates/blocks/b_how_dev.html | 2 +- templates/blocks/b_how_with_us_working.html | 4 ++-- templates/blocks/b_photo150_n_title.html | 4 ++-- templates/pages/content/c_section_content.html | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/templates/blocks/b_how_dev.html b/templates/blocks/b_how_dev.html index 85d9029..2714cab 100644 --- a/templates/blocks/b_how_dev.html +++ b/templates/blocks/b_how_dev.html @@ -6,7 +6,7 @@
{{ block.name }}
- {% for w in block.rel_widgets_for_block.all %} + {% for w in block.get_widgets %}
diff --git a/templates/blocks/b_how_with_us_working.html b/templates/blocks/b_how_with_us_working.html index ebe1049..5511adb 100644 --- a/templates/blocks/b_how_with_us_working.html +++ b/templates/blocks/b_how_with_us_working.html @@ -6,9 +6,9 @@
{{ block.name }}
- {% if block.rel_widgets_for_block.all %} + {% if block.get_widgets %}
- {% for widget in block.rel_widgets_for_block.all %} + {% for widget in block.get_widgets %}
{% if widget.picture %} diff --git a/templates/blocks/b_photo150_n_title.html b/templates/blocks/b_photo150_n_title.html index 86e4b2d..7b3565b 100644 --- a/templates/blocks/b_photo150_n_title.html +++ b/templates/blocks/b_photo150_n_title.html @@ -6,9 +6,9 @@
{{ block.title }}
- {% if block.rel_widgets_for_block.all %} + {% if block.get_widgets %}
- {% for b_widget in block.rel_widgets_for_block.all %} + {% for b_widget in block.get_widgets %}
{% if b_widget.picture %} diff --git a/templates/pages/content/c_section_content.html b/templates/pages/content/c_section_content.html index 904e010..d446789 100644 --- a/templates/pages/content/c_section_content.html +++ b/templates/pages/content/c_section_content.html @@ -17,7 +17,7 @@
{{ page.title }}
{% endif %} {% if page.text %} -
{{ page.text|safe }}
+
{{ page.text|safe }}
{% endif %}