<div class="approval">
  <div class="row-fluid approval-info">
    <div class="span3">
      <p class="uppercase" style="margin-bottom: 0px;"><small><b><%= t(:status) %></b></small></p>
      <p><% if screen.is_online? %><%= t '.online' %><% else %><%= t '.offline' %><% end %> </p>
      <% if !screen.mac_address.nil? && can?(:edit, screen) %>
        <p><small><%= t '.mac_address', mac: screen.mac_address %></small> </p>
      <% end %>
    </div>
    <div class="span3">
      <p class="uppercase" style="margin-bottom: 0px;"><small><b><%= Screen.human_attribute_name(:owner_id) %></b></small></p>
      <p><%= screen_owner(screen, false) %></p>
    </div>
    <div class="span3">
      <p class="uppercase" style="margin-bottom: 0px;"><small><b><%= Screen.human_attribute_name(:template_id) %></b></small></p>
      <% unless screen.template.blank? %>
        <% if can?(:read, screen.template) %>
          <p><%= link_to screen.template.name, screen.template %></p>
        <% else %>
          <p><%= screen.template.name %></p>
        <% end %>
      <% end %>
    </div>
    <div class="span3">
      <% unless screen.location.blank? %>
        <p class="uppercase" style="margin-bottom: 0px;"><small><b><%= Screen.human_attribute_name(:location) %></b></small></p>
        <p><%= screen.location %></p>
      <% end %>
    </div>
  </div>
</div>