rename port options for remote inventory and always show LLDP IP with not contacted device details

This commit is contained in:
Oliver Gorwits
2022-07-25 16:43:40 +01:00
parent da09ee1eb8
commit 796aa1c6f0
2 changed files with 5 additions and 4 deletions

View File

@@ -303,8 +303,9 @@
[% IF params.n_inventory and row.remote_inventory %]
[% row.remote_inventory | html_entity %]<br/>
[% END %]
[% IF params.n_detailed_inventory and (row.remote_id or row.remote_type) %]
([% 'id: '_ row.remote_id IF row.remote_id %]
[% IF params.n_detailed_inventory %]
([% 'IP: '_ row.remote_ip IF row.remote_ip %]
[% ' id: '_ row.remote_id IF row.remote_id %]
[% ' type: '_ row.remote_type IF row.remote_type %])<br/>
[% END %]
[% ELSIF row.remote_ip %]