From 79f0d50f7a50448db34a54b831aee5ee8339f1d3 Mon Sep 17 00:00:00 2001 From: Thomas Rusiecki Date: Wed, 8 Jan 2025 15:36:42 -0300 Subject: [PATCH] text size adjustment and displaying none states --- device/templates/details.html | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/device/templates/details.html b/device/templates/details.html index c72b097..fb5847c 100644 --- a/device/templates/details.html +++ b/device/templates/details.html @@ -34,13 +34,13 @@
{% else %} -
+
{% endif %}

{{ note.description }} @@ -70,7 +70,7 @@ title="{% trans 'Save changes' %}" onclick="submitUpdatedNote('{{ note.id }}'); return false;" > - + @@ -119,7 +119,9 @@ {% trans "Change state" %} {% if device_states %} ({{ device_states.0.state }}) - {% endif %} + {% else %} + ( {% trans "None" %} ) + {% endif %}