Skip to content

Commit 62aacd5

Browse files
committed
[req-changes] Improved button text and fixed font size
1 parent 13d3f68 commit 62aacd5

File tree

3 files changed

+9
-4
lines changed

3 files changed

+9
-4
lines changed

docs/user/device-config-status.rst

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,8 @@ will be prevented or rejected.
3939

4040
.. note::
4141

42-
If a device becomes unreachable (e.g., lost, stolen, or decommissioned)
43-
before it can be properly deactivated, you can remove it from OpenWISP
44-
by deleting the device from the system.
42+
If a device becomes unreachable (e.g., lost, stolen, or
43+
decommissioned) before it can be properly deactivated, you can still
44+
force the deletion from OpenWISP by hitting the delete button in the
45+
device detail page after having deactivated the device or by using the
46+
bulk delete action from the device list page.

openwisp_controller/config/static/config/css/device-delete-confirmation.css

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,6 @@
66
padding: 0px;
77
background: inherit;
88
}
9+
ul.messagelist li {
10+
font-size: unset;
11+
}

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141
</p>
4242
<form>
4343
<input type="submit" class="button danger-btn" id="warning-ack"
44-
value="{% trans "I understand the risks, delete the device" %}">
44+
value="{% blocktranslate count counter=active_devices|length %}I understand the risks, delete the device{% plural %}I understand the risks, delete the devices{% endblocktranslate %}">
4545
<a class="button cancel-link">No, take me back</a>
4646
</form>
4747
</li>

0 commit comments

Comments
 (0)