Skip to content

Commit

Permalink
[chores] Improved wording of delete_confirmation.html template
Browse files Browse the repository at this point in the history
  • Loading branch information
nemesifier committed Jan 28, 2025
1 parent 4892967 commit 6e5fd68
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,26 @@
<div id="deactivating-warning">
<ul class="messagelist">
<li class="warning">
<p>{% translate 'The device is still in the deactivating state, meaning its configuration is still present on the device. If you wish to remove the configuration from the device, please wait until the config status changes to "deactivated". Proceeding will delete the device from OpenWISP without ensuring its configuration has been removed.' %}</p>
<p>
<strong>
{% translate 'Warning: Device is not fully deactivated.' %}
</strong>
</p>
<p>
{% blocktranslate %}
This device is still in the process of being deactivated,
meaning its configuration is still present on the device.
{% endblocktranslate %}
</p>
<p>
{% blocktranslate %}
To ensure its configuration is removed, please
wait until its status changes to
<strong>"deactivated"</strong>.<br>
If you proceed now, the device will be deleted,
but its configuration will remain active.
{% endblocktranslate %}
</p>
<form>
<input type="submit" class="button danger-btn" id="warning-ack"
value="{% translate 'I understand the risks, delete the device' %}">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@
<form>
<input type="submit" class="button danger-btn" id="warning-ack"
value="{% blocktranslate count counter=active_devices|length %}I understand the risks, delete the device{% plural %}I understand the risks, delete the devices{% endblocktranslate %}">
<a class="button cancel-link">{% translate "No, take me back" %}</a>
<a class="button cancel-link">{% translate 'No, take me back' %}</a>
</form>
</li>
</ul>
Expand Down

0 comments on commit 6e5fd68

Please sign in to comment.