From f9674b4ad804fb792e4725383109a93a4055df94 Mon Sep 17 00:00:00 2001 From: Thomas Rusiecki Date: Thu, 5 Dec 2024 21:30:06 -0300 Subject: [PATCH] condition checking and renaming --- device/templates/details.html | 48 +++++++++++++++++++---------------- 1 file changed, 26 insertions(+), 22 deletions(-) diff --git a/device/templates/details.html b/device/templates/details.html index 7d89989..3c0a185 100644 --- a/device/templates/details.html +++ b/device/templates/details.html @@ -8,22 +8,26 @@

{{ object.shortid }}

- - + {% else %} + - -
- + {% endif %} @@ -314,12 +318,13 @@ - + +{% if state_definitions %} {% for state in state_definitions %}
{% endfor %} - +{% endif %} {% endblock %}