#379 avoid displaying phone or wap icon alongside nodes

This commit is contained in:
Oliver Gorwits
2018-03-02 14:17:48 +00:00
parent a0593c9138
commit 576e4ced5e
2 changed files with 7 additions and 5 deletions

View File

@@ -1,3 +1,9 @@
2.039013 - 2018-03-02
[ENHANCEMENTS]
* #379 avoid displaying phone or wap icon alongside nodes
2.039012 - 2018-03-02
[NEW FEATURES]

View File

@@ -315,11 +315,7 @@
[% FOREACH node IN row.$nodes %]
[% '<br/>' IF (row.remote_ip OR row.is_uplink) OR NOT loop.first %]
[% '<i class="icon-book"></i>&nbsp; ' IF NOT node.active %]
[% IF row.remote_is_phone %]
<i class="icon-phone"></i>&nbsp;
[% ELSIF node.wireless.defined OR row.remote_is_wap %]
<i class="icon-signal"></i>&nbsp;
[% END %]
[% '<i class="icon-signal"></i>&nbsp;' IF node.wireless.defined %]
<a href="[% search_node %]&q=[% node.net_mac.$mac_format_call | uri %]">
[% node.net_mac.$mac_format_call | html_entity %]</a>
[% IF (node.vlan > 0) && (node.vlan != row.vlan) %]