point the host link to a computer

I can't think of a scenario where a device would be a host to a computer.
This commit is contained in:
Andreas Zweili 2020-02-25 21:55:55 +01:00
parent 979933d436
commit c6c60ff158
1 changed files with 1 additions and 1 deletions

View File

@ -29,7 +29,7 @@
{% if device.host %}
<h2>Host</h2>
<ul>
<li><a href="{% url 'device' device.host.id %}">{{ device.host }}</a></li>
<li><a href="{% url 'computer' device.host.id %}">{{ device.host }}</a></li>
</ul>
{% endif %}