No longer use dns as a key into devices; cope with dupe dns

This commit is contained in:
Oliver Gorwits
2014-02-02 17:46:27 +00:00
parent e23c30f0be
commit dedc7f1867
27 changed files with 55 additions and 39 deletions

View File

@@ -14,7 +14,7 @@
<td class="nd_center-cell"><a href="[% search_node %]&q=[% row.mac.upper | uri %]">
[% row.mac.upper | html_entity %]</a>
<td class="nd_center-cell">[% row.vendor | html_entity %]</td>
<td class="nd_center-cell"><a href="[% device_ports %]&q=[% row.dns || row.switch | uri %]&f=[% row.port | uri %]&c_nodes=on">
<td class="nd_center-cell"><a href="[% device_ports %]&q=[% row.switch | uri %]&f=[% row.port | uri %]&c_nodes=on">
[% row.dns || row.name || row.switch | html_entity %] ([% row.port | html_entity %])</a></td>
<td class="nd_center-cell">[% row.ip_count | format_number %]</td>
</tr>