mirror of
https://github.com/netbox-community/netbox.git
synced 2025-08-16 12:38:17 -06:00
Updated device.html's Platform text into a link that leads to device list for that platform
This commit is contained in:
parent
9c41984f6d
commit
864319f40d
@ -239,7 +239,7 @@
|
|||||||
<td>Platform</td>
|
<td>Platform</td>
|
||||||
<td>
|
<td>
|
||||||
{% if device.platform %}
|
{% if device.platform %}
|
||||||
<span>{{ device.platform }}</span>
|
<a href="{% url 'dcim:device_list' %}?platform={{ device.platform.slug }}">{{ device.platform }}</a>
|
||||||
{% else %}
|
{% else %}
|
||||||
<span class="text-muted">None</span>
|
<span class="text-muted">None</span>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
Loading…
Reference in New Issue
Block a user