Updated device.html's Platform text into a link that leads to device list for that platform

This commit is contained in:
lamoni 2019-08-16 07:53:16 -05:00
parent 9c41984f6d
commit 864319f40d

View File

@ -239,7 +239,7 @@
<td>Platform</td>
<td>
{% if device.platform %}
<span>{{ device.platform }}</span>
<a href="{% url 'dcim:device_list' %}?platform={{ device.platform.slug }}">{{ device.platform }}</a>
{% else %}
<span class="text-muted">None</span>
{% endif %}