This commit is contained in:
SBD
2023-11-28 16:38:01 +03:00
parent ba1d796e88
commit d567866dba
5 changed files with 51 additions and 5 deletions

View File

@@ -0,0 +1,23 @@
{% load static %}
{% load i18n %}
<div class="cut-width">
<div class="block_service two_cols">
{% for service in services %}
<div class="service_block_container two_cols">
<div class="service_container">
{% if service.picture %}
<div class="left_part_service">
<img class="service_img" src="{{ MEDIA_URL }}{{ service.picture }}">
</div>
{% endif %}
<div class="right_part_service two_cols standart_txt {% if not service.picture %}w_100{% endif %}">
{{ service.name }}
</div>
<div class="clear_both"></div>
</div>
</div>
{% endfor %}
</div>
</div>

View File

@@ -1,5 +1,11 @@
{% include 'blocks/dynamic/b_sections_buttons.html' %}
{% include 'blocks/b_service.html' %}
{% if services_view_scheme == '3_cols_w_group' %}
{% include 'blocks/b_service.html' %}
{% elif services_view_scheme == '2_cols_wo_group' %}
{% include 'blocks/b_service_2_col.html' %}
{% endif %}
{#{% include 'blocks/b_how_with_us_working.html' %}#}
{% for block in cur_section.blocks.all %}
{% if block.block_type == 'photo150_n_title' %}

View File

@@ -1,7 +1,11 @@
{% extends 'tb_base.html' %}
{% block CONTENT %}
{% include 'blocks/dynamic/b_sections_buttons.html' %}
{% include 'blocks/b_service.html' %}
{% if services_view_scheme == '3_cols_w_group' %}
{% include 'blocks/b_service.html' %}
{% elif services_view_scheme == '2_cols_wo_group' %}
{% include 'blocks/b_service_2_col.html' %}
{% endif %}
{% for block in page.blocks.all %}
{% if block.block_type == 'photo150_n_title' %}
{% include 'blocks/b_photo150_n_title.html' %}