Closes #10268: Omit trailing ".0" in device positions within UI

This commit is contained in:
jeremystretch
2022-09-07 14:09:17 -04:00
parent 1cbb2320c1
commit b702822857
4 changed files with 13 additions and 6 deletions
@@ -55,7 +55,7 @@
<td>{{ device.pk }}</td>
<td>
{% if device.rack %}
{{ device.rack }} / {{ device.position }}
{{ device.rack }} / {{ device.position|floatformat }}
{% else %}
{{ ''|placeholder }}
{% endif %}