<div class="device">
    <div class="device_img device_[% $Device.filename %]"><img src="images/blank.gif" height="48" width="48" alt=""></div>
    <div class="device_name">[% $Device.hostname %] ([% $Device.typename %])</div>
    [% $Device.domainname %]
    [% if $Device.domainname != '' && $Device.devicename != "" %] / [% /if %]
    [% $Device.devicename %]<br />
    [% $Device.manufacturer %]
    [% if $Device.manufacturer != '' && $Device.model != "" %] / [% /if %]
    [% $Device.model %]
</div>