diff --git a/static/aerbimCSS.css b/static/aerbimCSS.css index ee1bfef..9e52dcd 100644 --- a/static/aerbimCSS.css +++ b/static/aerbimCSS.css @@ -436,7 +436,7 @@ body.n_scroll{ .txt_descript_process.standart_txt{ font-weight: 600; - padding-top: 30px; + padding-top: 10px; text-align: center; width: 100%; color: #000000; diff --git a/templates/blocks/b_how_with_us_working.html b/templates/blocks/b_how_with_us_working.html index f0895d6..794f013 100644 --- a/templates/blocks/b_how_with_us_working.html +++ b/templates/blocks/b_how_with_us_working.html @@ -8,19 +8,20 @@ {% if block.rel_widgets_for_block.all %}
- {% for b_widget in block.rel_widgets_for_block.all %} + {% for widget in block.rel_widgets_for_block.all %}
- {% if b_widget.picture %} + {% if widget.picture %}
- +
{% endif %} - {% if b_widget.name %} + {% if widget.name %}
- {{ b_widget.name }} + {{ widget.name }}
{% endif %} + {% include "blocks/block_elements/be_button.html" %}
{% endfor %} {#
#} diff --git a/templates/blocks/b_present_technology.html b/templates/blocks/b_present_technology.html index 99692b2..7093b89 100644 --- a/templates/blocks/b_present_technology.html +++ b/templates/blocks/b_present_technology.html @@ -1,14 +1,28 @@ {% load static %}
-
-
-
{{ block.description }}
-
{{ block.name }}
+ {% if block.url %} + +
+
+
{{ block.description }}
+
{{ block.name }}
+
+
+ {{ block.name }} +
+
+
+ {% else %} +
+
+
{{ block.description }}
+
{{ block.name }}
+
+
+ {{ block.name }} +
-
- -
-
+ {% endif %}
\ No newline at end of file diff --git a/templates/blocks/block_elements/be_button.html b/templates/blocks/block_elements/be_button.html new file mode 100644 index 0000000..2468f6f --- /dev/null +++ b/templates/blocks/block_elements/be_button.html @@ -0,0 +1,5 @@ +{% if widget.but_title %} + + {{ widget.but_title }} + +{% endif %} \ No newline at end of file diff --git a/templates/widgets/w_functuional_features_item.html b/templates/widgets/w_functuional_features_item.html index d2f2090..bbc1a92 100644 --- a/templates/widgets/w_functuional_features_item.html +++ b/templates/widgets/w_functuional_features_item.html @@ -16,5 +16,6 @@ {{ widget.description|safe|linebreaksbr }}
{% endif %} + {% include "blocks/block_elements/be_button.html" %}
\ No newline at end of file