From 1634437ae75ff8492fdab483bdc93d28e691d9b0 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 d422cda..62a0bfb 100644 --- a/device/templates/details.html +++ b/device/templates/details.html @@ -8,22 +8,26 @@

{{ object.shortid }}

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