1
0
Fork 0
mirror of https://github.com/retspen/webvirtcloud synced 2026-11-11 12:46:49 +00:00

fix(templates): each delete page says what deleting its object does

The shared delete page asked only whether to delete the object. Each
view now gives its consequence: a deleted compute's VMs keep running
but the panel forgets them and their owners, a deleted user's VMs
stay, a group's members keep their accounts, a VM's owner loses only
the access, a removed VM's record no longer brings its owners back,
an SSH key stays on the VMs that have it, a flavor only goes as a
size template.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This commit is contained in:
catborise 2026-10-22 11:02:54 +03:00
parent f9c8c36a6b
commit fbe93d9aee
6 changed files with 54 additions and 7 deletions

View file

@ -13,7 +13,7 @@
<form method="post">
{% csrf_token %}
<div class="alert alert-warning">
{%trans "Are you sure you want to delete" %} "{{ object }}"?
{% blocktrans %}Delete "{{ object }}"?{% endblocktrans %} {{ consequence }}
</div>
<div class="mb-0 float-end">
<a class="btn btn-primary" href="javascript:history.back()">