Skip to content
Snippets Groups Projects
Commit 704f4f6b authored by Benjamin Bertrand's avatar Benjamin Bertrand
Browse files

Add Mac/IP/hostname to item view

parent eb988dba
No related branches found
No related tags found
No related merge requests found
......@@ -23,6 +23,10 @@
<dd class="col-sm-9">{{ item['location'] }}</dt>
<dt class="col-sm-3">Status</dt>
<dd class="col-sm-9">{{ item['status'] }}</dt>
{% for mac in item['macs'] %}
<dt class="col-sm-3">Address{{ loop.index }}</dt>
<dd class="col-sm-9">{{ mac.address }} / {{ mac.host.ip }} / {{ mac.host.name }}</dt>
{% endfor %}
<dt class="col-sm-3">Parent</dt>
<dd class="col-sm-9">{{ link_to_item(item['parent']) }}</dt>
<dt class="col-sm-3">Children</dt>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment