diff --git a/src/pretix/control/templates/pretixcontrol/organizers/devices.html b/src/pretix/control/templates/pretixcontrol/organizers/devices.html
index 9edfb6a24..49c98b931 100644
--- a/src/pretix/control/templates/pretixcontrol/organizers/devices.html
+++ b/src/pretix/control/templates/pretixcontrol/organizers/devices.html
@@ -58,9 +58,9 @@
{{ d.device_id }}
- {% if d.initialized and not d.api_token %}{% endif %}
+ {% if d.revoked %}{% endif %}
{{ d.name }}
- {% if d.initialized and not d.api_token %}{% endif %}
+ {% if d.revoked %}{% endif %}
|
{{ d.hardware_brand|default_if_none:"" }} {{ d.hardware_model|default_if_none:"" }}
@@ -74,7 +74,7 @@
{% else %}
{% trans "Not yet initialized" %}
{% endif %}
- {% if d.initialized and not d.api_token %}
+ {% if d.revoked %}
{% trans "Revoked" %}
{% endif %}
|