mirror of
https://github.com/netbox-community/netbox.git
synced 2024-05-10 07:54:54 +00:00
Replace None in templates with placeholder filter
To be consistent, all uses of — or None is replaced with the placeholder filter. Fixes #9537
This commit is contained in:
@@ -57,7 +57,7 @@
|
||||
{% if device.rack %}
|
||||
{{ device.rack }} / {{ device.position }}
|
||||
{% else %}
|
||||
<span class="text-muted">—</span>
|
||||
{{ ''|placeholder }}
|
||||
{% endif %}
|
||||
</td>
|
||||
<td>{{ device.serial|placeholder }}</td>
|
||||
|
Reference in New Issue
Block a user