<%= mac.mac.downcase %> | <%= mac.user.name unless mac.user.blank? %> | <%= "("+mac.note+")" unless mac.note.blank? %> | <%= if mac.active? then raw("Here") else "Gone" end %> | <%= ((Time.now - mac.since) / 1.hour).round(1).to_s+" hours" unless mac.since.blank? %> | <%= link_to 'Edit', edit_mac_path(mac) %> |