This commit is contained in:
SBD
2024-01-19 16:48:58 +03:00
parent ad7afe36f1
commit 71d9759dc4
4 changed files with 44 additions and 8 deletions

View File

@@ -4,13 +4,13 @@
<div class="cut-width sections_btns">
<div class="container_content_sections_buttons">
{% for section in sections %}
<a href="{% url 'section_page' section.url %}" class="section_btn {% if section == cur_section or page == section %}open{% else %}close{% endif %} standart_txt pointer" data-url="{{ section.url }}">
<a href="{% url 'section_page' section.url %}" class="section_btn {% if section == cur_section or page == section %}open{% else %}close{% endif %} pointer" data-url="{{ section.url }}">
<div class="txt_section standart_semi_bold_txt">{{ section.name }}</div>
<div class="description_sections_buttons">
{% if section.description %}
<div class="description_txt standart_txt">{{ section.description }}</div>
<div class="description_txt ">{{ section.description }}</div>
{% endif %}
<div class="standart_txt line_go_to_sections"><span class="orange">{% translate "перейти в раздел" %}</span> <img class="img_go_to_section" src="{% static "/images/arrow_right_for_sections.svg" %}"></div>
<div class=" line_go_to_sections"><span class="orange">{% translate "перейти в раздел" %}</span> <img class="img_go_to_section" src="{% static "/images/arrow_right_for_sections.svg" %}"></div>
</div>
</a>
{% endfor %}