1.0.7 upd view for error_message for subscribe

This commit is contained in:
2024-05-10 18:48:51 +03:00
parent 3575391d3f
commit fd81675ee9
4 changed files with 8 additions and 5 deletions

View File

@@ -80,7 +80,7 @@
</div>
{% if not item.order_error %}
<button class="read_more_about_subscribe"
onclick="send_subscribe({{ item.id }},'{% if page.url == 'for_movers' or page.url == 'for_customers' %}a{% endif %}','{% url "profile_page" "my_subscribe" %}')">{% translate "Перейти" %}
onclick="send_subscribe(this, {{ item.id }},'{% if page.url == 'for_movers' or page.url == 'for_customers' %}a{% endif %}','{% url "profile_page" "my_subscribe" %}')">{% translate "Перейти" %}
</button>
{% endif %}
</div>
@@ -93,7 +93,7 @@
</div>
<div class="error_title">{% translate "Сообщение от банка:" %} <span class="error_text">{{ item.order_error }}</span></div>
<div class="read_more_about_subscribe error"
onclick="send_subscribe({{ item.id }},'{% if page.url == 'for_movers' or page.url == 'for_customers' %}a{% endif %}','{% url "profile_page" "my_subscribe" %}')"
onclick="send_subscribe(this, {{ item.id }},'{% if page.url == 'for_movers' or page.url == 'for_customers' %}a{% endif %}','{% url "profile_page" "my_subscribe" %}')"
>
<img class="error_icon filter-orange" src="/static/img/svg/ClockCounterClockwise.svg" alt="">
{% translate "Повторить оплату" %}