This commit is contained in:
SBD
2024-01-19 19:52:51 +03:00
parent 6c588496c8
commit c819256099
3 changed files with 16 additions and 1 deletions

View File

@@ -1,5 +1,7 @@
{% load static %}
<div class="w_one_present{% if forloop.counter|divisibleby:2 %} even{% else %} odd{% endif %}">
<div class="w_one_present{% if forloop.counter|divisibleby:2 %} even{% else %} odd{% endif %}" style="{% if widget.bg_color %}background: {{ widget.bg_color }};{% endif %}
{# {% if not bg_color %}padding: 0;{% endif %}#}
">
<div class="txt_part_w_one_present">
{% if widget.name %}
<div class="title_w_one_present standart_txt">