From 579d666aced0dcba6c795a03a4e18b9345f44e3b Mon Sep 17 00:00:00 2001 From: SDE Date: Mon, 27 Nov 2023 02:30:19 +0300 Subject: [PATCH] 0.0.14 block photo150_n_title codding --- templates/blocks/b_photo150_n_title.html | 81 +++++++++++++++++++ .../pages/content/c_projectiing_section.html | 7 +- 2 files changed, 87 insertions(+), 1 deletion(-) create mode 100644 templates/blocks/b_photo150_n_title.html diff --git a/templates/blocks/b_photo150_n_title.html b/templates/blocks/b_photo150_n_title.html new file mode 100644 index 0000000..3c385a5 --- /dev/null +++ b/templates/blocks/b_photo150_n_title.html @@ -0,0 +1,81 @@ +{% load static %} +{% load i18n %} +{# h_w_u_w - how with us working #} +
+
+
+ {{ block.title }} +
+ {% if block.rel_widgets_for_block.all %} +
+ {% for b_widget in block.rel_widgets_for_block.all %} + +
+ {% if b_widget.picture %} +
+ +
+ {% endif %} + {% if b_widget.title %} +
+ {{ b_widget.title }} +
+ {% endif %} +
+ {% endfor %} +{#
#} +{#
#} +{# #} +{#
#} +{#
#} +{# Получение инфы#} +{#
#} +{#
#} +{#
#} +{#
#} +{# #} +{#
#} +{#
#} +{# Получение инфы#} +{#
#} +{#
#} +{#
#} +{#
#} +{# #} +{#
#} +{#
#} +{# Получение инфы#} +{#
#} +{#
#} + +
+ {% endif %} + + + +
+
+
+
+
+
+ {% translate 'НУЖНА КОНСУЛЬТАЦИЯ - ИХ ЕСТЬ У НАС!' %} +
+
+ {% translate 'Lorem ipsum dolor sit amet consectetur. Rutrum tristique mauris non vitae varius porta quis. Magna adipiscing in turpis pellentesque sit turpis enim condimentum cras. Imperdiet enim feugiat blandit in vitae congue cursus ac.' %} +
+ +
+
+ + + + + +
+ +
+
+
+
+
\ No newline at end of file diff --git a/templates/pages/content/c_projectiing_section.html b/templates/pages/content/c_projectiing_section.html index 34c86c6..de3dc72 100644 --- a/templates/pages/content/c_projectiing_section.html +++ b/templates/pages/content/c_projectiing_section.html @@ -1,3 +1,8 @@ {% include 'blocks/dynamic/b_sections_buttons.html' %} {% include 'blocks/b_service.html' %} -{% include 'blocks/b_how_with_us_working.html' %} \ No newline at end of file +{#{% include 'blocks/b_how_with_us_working.html' %}#} +{% for block in cur_section.blocks.all %} + {% if block.block_type == 'photo150_n_title' %} + {% include 'blocks/b_photo150_n_title.html' %} + {% endif %} +{% endfor %} \ No newline at end of file