This commit is contained in:
SBD
2023-12-08 16:07:24 +03:00
parent 4703d883de
commit 9f12bd058d
5 changed files with 40 additions and 30 deletions

View File

@@ -2,27 +2,11 @@
<div {% include "block_settings/blocks_settings.html" %}>
<div class="cut-width">
{% if block.url %}
<a href="{{ block.url }}">
<div class="content_block_present_technology">
<div class="left_part_block_present_technology">
<div class="txt_block_present_technology semi_large_light">{{ block.description }}</div>
<div class="txt_block_present_technology large_txt">{{ block.name }}</div>
</div>
<div class="right_part_block_present_technology">
<img class="img_block_present_technology" src="{{ block.picture.url }}" alt="{{ block.name }}">
</div>
</div>
<a class="a_block_present_technology" href="{{ block.url }}">
{% include 'widgets/w_technology_item.html' %}
</a>
{% else %}
<div class="content_block_present_technology">
<div class="left_part_block_present_technology">
<div class="txt_block_present_technology semi_large_light">{{ block.description }}</div>
<div class="txt_block_present_technology large_txt">{{ block.name }}</div>
</div>
<div class="right_part_block_present_technology">
<img class="img_block_present_technology" src="{{ block.picture.url }}" alt="{{ block.name }}">
</div>
</div>
{% include 'widgets/w_technology_item.html' %}
{% endif %}
</div>
</div>