device names do not have domain_suffix trimmed, but nodes do
This commit is contained in:
		| @@ -3,6 +3,8 @@ | ||||
|   [ENHANCEMENTS] | ||||
|  | ||||
|   * 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] | ||||
|  | ||||
|   | ||||
| @@ -12,7 +12,7 @@ | ||||
|     [% WHILE (row = results.next) %] | ||||
|     <tr> | ||||
|       <td>[% row.alias %]</a> | ||||
|       <td>[% row.dns.remove(settings.domain_suffix) %]</a> | ||||
|       <td>[% row.dns %]</a> | ||||
|       <td class="center_cell"><a class="nd_linkcell" | ||||
|         href="[% device_ports %]&q=[% params.q | uri %]&f=[% row.port | uri %]">[% row.port %]</a></td> | ||||
|       <td>[% row.device_port.name %]</td> | ||||
|   | ||||
		Reference in New Issue
	
	Block a user