0.0.280 upd confirm_remove button
This commit is contained in:
@@ -85,12 +85,29 @@
|
||||
{% translate "Редактировать" %}
|
||||
</button>
|
||||
</div>
|
||||
|
||||
<div class="button_remove_route">
|
||||
<button
|
||||
onclick="confirmRemove(this)"
|
||||
id="remove_route">
|
||||
onclick="confirmRemove(this, {{ route.id }})"
|
||||
class="remove_route"
|
||||
id="remove_route_{{ route.id }}">
|
||||
{% translate "Удалить" %}
|
||||
</button>
|
||||
|
||||
<button
|
||||
onclick="removeRoute(this,{{ route.id }},{once: true})"
|
||||
class="confirm_remove"
|
||||
id="confirm_remove_{{ route.id }}">
|
||||
{% translate "Подтвердить удаление" %}
|
||||
</button>
|
||||
|
||||
<button
|
||||
onclick="cancelRemove({{ route.id }})"
|
||||
class="cancel_remove"
|
||||
id="cancel_remove_{{ route.id }}">
|
||||
{% translate "Отменить удаление" %}
|
||||
</button>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
{% if route.owner != user %}
|
||||
|
||||
Reference in New Issue
Block a user