0.0.41
This commit is contained in:
23
templates/blocks/b_service_2_col.html
Normal file
23
templates/blocks/b_service_2_col.html
Normal 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>
|
||||
@@ -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' %}
|
||||
|
||||
@@ -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' %}
|
||||
|
||||
Reference in New Issue
Block a user