0.0.12
This commit is contained in:
@@ -1,32 +1,34 @@
|
||||
{% load static %}
|
||||
{% load i18n %}
|
||||
<div class="services_block">
|
||||
{% for service in services %}
|
||||
<div class="service_container">
|
||||
{% if sub_serv.picture %}
|
||||
<div class="left_part_service">
|
||||
<img class="service_img" src="{{ MEDIA_URL }}{{ service.picture }}">
|
||||
<div class="cut-width">
|
||||
<div class="block_service">
|
||||
{% for service in services %}
|
||||
<div class="service_container">
|
||||
{% if sub_serv.picture %}
|
||||
<div class="left_part_service">
|
||||
<img class="service_img" src="{{ MEDIA_URL }}{{ service.picture }}">
|
||||
</div>
|
||||
{% endif %}
|
||||
<div class="right_part_service {% if sub_serv.picture %}w_100{% endif %}">
|
||||
{{ service.name }}
|
||||
</div>
|
||||
{% endif %}
|
||||
<div class="right_part_service {% if sub_serv.picture %}w_100{% endif %}">
|
||||
{{ service.name }}
|
||||
</div>
|
||||
{% if service.rel_children_for_service.all %}
|
||||
{% for sub_serv in service.rel_children_for_service.all %}
|
||||
<div class="services_block">
|
||||
<div class="service_container">
|
||||
{% if sub_serv.picture %}
|
||||
<div class="left_part_service">
|
||||
<img class="service_img" src="{{ MEDIA_URL }}{{ sub_serv.picture }}">
|
||||
{% if service.rel_children_for_service.all %}
|
||||
{% for sub_serv in service.rel_children_for_service.all %}
|
||||
<div class="services_block">
|
||||
<div class="service_container">
|
||||
{% 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 {% if not sub_serv.picture %}w_100{% endif %}">
|
||||
{{ sub_serv.name }}
|
||||
</div>
|
||||
{% endif %}
|
||||
<div class="right_part_service {% if not sub_serv.picture %}w_100{% endif %}">
|
||||
{{ sub_serv.name }}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
{% endfor %}
|
||||
{% endif %}
|
||||
</div>
|
||||
{% endfor %}
|
||||
{% endfor %}
|
||||
{% endif %}
|
||||
</div>
|
||||
{% endfor %}
|
||||
</div>
|
||||
</div>
|
||||
Reference in New Issue
Block a user