{{# hideroot will be True if we are displaying the device from the grid as a popup. In this we show the list without a border }} {{if d==null}} {{d=device_by_ref queries['ref']}} {{end}} {{if d==NULL}} {{d=device_by_ref refid}} {{end}} {{if d==null}} {{else}} {{if (devices_to_show d.ref)}} {{ignore_filters=queries['ignorefilters']}} {{hideroot=false}} {{if queries['hideroot'] != null}} {{if queries['hideroot']=="true"}} {{hideroot=true}} {{else}} {{hideroot=false}} {{end}} {{end}} {{if !hideroot}}