device names do not have domain_suffix trimmed, but nodes do
This commit is contained in:
@@ -3,6 +3,8 @@
|
|||||||
[ENHANCEMENTS]
|
[ENHANCEMENTS]
|
||||||
|
|
||||||
* When linking to devices, use the DNS name in preference to the IP
|
* When linking to devices, use the DNS name in preference to the IP
|
||||||
|
(makes for more attractive navigation search bar, but need to watch for aliases)
|
||||||
|
* In general, device names do not have domain_suffix trimmed, but nodes do
|
||||||
|
|
||||||
[BUG FIXES]
|
[BUG FIXES]
|
||||||
|
|
||||||
|
|||||||
@@ -12,7 +12,7 @@
|
|||||||
[% WHILE (row = results.next) %]
|
[% WHILE (row = results.next) %]
|
||||||
<tr>
|
<tr>
|
||||||
<td>[% row.alias %]</a>
|
<td>[% row.alias %]</a>
|
||||||
<td>[% row.dns.remove(settings.domain_suffix) %]</a>
|
<td>[% row.dns %]</a>
|
||||||
<td class="center_cell"><a class="nd_linkcell"
|
<td class="center_cell"><a class="nd_linkcell"
|
||||||
href="[% device_ports %]&q=[% params.q | uri %]&f=[% row.port | uri %]">[% row.port %]</a></td>
|
href="[% device_ports %]&q=[% params.q | uri %]&f=[% row.port | uri %]">[% row.port %]</a></td>
|
||||||
<td>[% row.device_port.name %]</td>
|
<td>[% row.device_port.name %]</td>
|
||||||
|
|||||||
Reference in New Issue
Block a user