Skip to content

Commit 4892967

Browse files
committed
[chores] Improved intermediate page text
1 parent 62aacd5 commit 4892967

File tree

1 file changed

+22
-11
lines changed

1 file changed

+22
-11
lines changed

openwisp_controller/config/templates/admin/config/device/delete_selected_confirmation.html

Lines changed: 22 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -19,30 +19,41 @@
1919
<ul class="messagelist">
2020
<li class="warning">
2121
<p>
22+
<strong>
2223
{% blocktranslate count counter=active_devices|length %}
23-
The following device you selected for deletion is not deactivated
24-
(either it is active or its configuration status is still "deactivating"):
24+
Warning: Device is not fully deactivated.
2525
{% plural %}
26-
The following devices you selected for deletion are not deactivated
27-
(either they are active or their configuration status is still "deactivating"):
26+
Warning: Some devices are not fully deactivated.
27+
{% endblocktranslate %}
28+
</strong>
29+
</p>
30+
<p>
31+
{% blocktranslate count counter=active_devices|length %}
32+
The device below is either still active or
33+
in the process of being deactivated:
34+
{% plural %}
35+
The devices listed below are either still active
36+
or in the process of being deactivated:
2837
{% endblocktranslate %}
2938
</p>
3039
<ul>{{ active_devices|unordered_list }}</ul>
3140
<p>
3241
{% blocktranslate count counter=active_devices|length %}
33-
If you wish to remove the configuration from the device, please wait until its
34-
configuration status changes to "deactivated". Proceeding will delete the device
35-
from OpenWISP without ensuring its configuration has been removed.
42+
To ensure its configuration is removed, please
43+
wait until its status changes to <strong>"deactivated"</strong>.<br>
44+
If you proceed now, the device will be deleted,
45+
but its configuration will remain active.
3646
{% plural %}
37-
If you wish to remove the configurations from the devices, please wait until their
38-
configuration status change to "deactivated." Proceeding will delete the devices
39-
from OpenWISP without ensuring their configurations have been removed.
47+
To ensure their configurations are removed, please
48+
wait until their status changes to <strong>"deactivated"</strong>.<br>
49+
If you proceed now, the devices will be deleted,
50+
but their configurations will remain active.
4051
{% endblocktranslate %}
4152
</p>
4253
<form>
4354
<input type="submit" class="button danger-btn" id="warning-ack"
4455
value="{% blocktranslate count counter=active_devices|length %}I understand the risks, delete the device{% plural %}I understand the risks, delete the devices{% endblocktranslate %}">
45-
<a class="button cancel-link">No, take me back</a>
56+
<a class="button cancel-link">{% translate "No, take me back" %}</a>
4657
</form>
4758
</li>
4859
</ul>

0 commit comments

Comments
 (0)