40 lines
2.0 KiB
HTML
40 lines
2.0 KiB
HTML
{% load static %}
|
|
{% load i18n %}
|
|
<div {% include "block_settings/blocks_settings.html" %}>
|
|
<div class="cut-width">
|
|
<div class="block_service">
|
|
{% for service in services %}
|
|
<div class="service_block_container">
|
|
<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 medium_small_bold_txt px30_txt{% if not service.picture %} w_100{% endif %}">
|
|
{{ service.name }}
|
|
</div>
|
|
<div class="clear_both"></div>
|
|
{% if service.get_subservices %}
|
|
<div class="childs_service_container">
|
|
{% for sub_serv in service.get_subservices %}
|
|
<div class="services_block_child">
|
|
{% if sub_serv.picture %}
|
|
<div class="left_part_service">
|
|
<img class="service_img" src="{{ MEDIA_URL }}{{ sub_serv.picture }}">
|
|
</div>
|
|
{% endif %}
|
|
<div class="right_part_service child standart_semi_bold_txt {% if not sub_serv.picture %}w_100{% endif %}">
|
|
{{ sub_serv.name }}
|
|
</div>
|
|
<div class="clear_both"></div>
|
|
</div>
|
|
{% endfor %}
|
|
</div>
|
|
{% endif %}
|
|
</div>
|
|
</div>
|
|
{% endfor %}
|
|
</div>
|
|
</div>
|
|
</div> |