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 %}