1.1.3 rising and highlight my_route

This commit is contained in:
2024-06-04 20:02:54 +03:00
parent 5cd0146c8c
commit 35073f77c8
2 changed files with 41 additions and 10 deletions

View File

@@ -59,26 +59,30 @@
<div class="checkbox_wrapper">
<input type="radio"
name="route_option"
data-routeid="{{ route.id }}"
class="custom-checkbox round"
id="raise_route">
<label for="raise_route" class="route_label">
id="raise_route_{{ route.id }}">
<label for="raise_route_{{ route.id }}" class="route_label">
<div class="label_text">{% trans "Поднять объявление" %}</div>
</label>
</div>
<div class="sub_label_text">{% trans "Осталось поднятий " %} {{ remains_route_rising_count }}</div>
<div class="sub_label_text">{% trans "Осталось поднятий " %} <span
id="remains_route_rising_count"
>{% if form.data.remainsRisingCount %}{{ form.data.remainsRisingCount }}{% else %}{{ remains_route_rising_count }}{% endif %}</span></div>
<div class="checkbox_wrapper">
<input type="radio"
name="route_option"
data-routeid="{{ route.id }}"
class="custom-checkbox round"
{# checked="checked"#}
id="highlight_route">
<label for="highlight_route" class="route_label">
id="highlight_route_{{ route.id }}">
<label for="highlight_route_{{ route.id }}" class="route_label">
<div class="label_text">{% trans "Выделить объявление цветом " %}</div>
</label>
</div>
<div class="sub_label_text">{% trans "Осталось выделений " %}{{ remains_route_highlight_count }}</div>
<div class="sub_label_text">{% trans "Осталось выделений " %}<span id="remains_route_highlight_count">{{ remains_route_highlight_count }}</span></div>
<button onclick="confirmUpgrade(this,{{ route.id }} )" id="send_upgrade"> {% trans "Подтвердить" %}</button>