From e81c072bd46b7c99f4d21f1e560bb5ff49f6a0ea 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 2117c14..0aab729 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 %}