also show manual topo links in device port view

This commit is contained in:
Oliver Gorwits
2013-09-23 12:44:16 +01:00
parent 8b5db6d5cb
commit 998d170c68
2 changed files with 2 additions and 1 deletions

View File

@@ -210,7 +210,7 @@
<td>
[% IF params.c_neighbors AND (row.remote_ip OR row.is_uplink) %]
[% IF row.neighbor %]
<i class="icon-link"></i>
<i class="icon-link[% ' text-warning' IF row.manual_topo %]"></i>
<a href="[% uri_for('/device',
self_options) %]&q=[% row.neighbor.dns || row.neighbor.ip | uri %]&f=[% row.remote_port | uri %]">
[% row.neighbor.dns.remove(settings.domain_suffix) || row.neighbor.ip | html_entity %]