<div class="card-pf card-pf-accented card-pf-aggregate-status card-pf-with-action">
  <h2 class="card-pf-title">
    <a href="#logs" onclick="changeFilterSelection(0)" data-toggle="tooltip" data-placement="top"><%= n_('%s log message', '%s log messages', logs.info_or_debug_messages) % logs.info_or_debug_messages %></a>
  </h2>
  <div class="card-pf-body">
    <p class="card-pf-aggregate-status-notifications">
      <% icon_present = false; if logs.error_or_fatal_messages > 0; icon_present = true %>
        <span class="card-pf-aggregate-status-notification"><a href="#logs" onclick="changeFilterSelection(1)" data-toggle="tooltip" data-placement="top" title="<%= n_('%s error message', '%s error messages', logs.error_or_fatal_messages) % logs.error_or_fatal_messages %>"><span class="pficon pficon-error-circle-o"></span><%= logs.error_or_fatal_messages %></a></span>
      <% end %>
      <% if logs.warn_messages > 0; icon_present = true %>
        <span class="card-pf-aggregate-status-notification"><a href="#logs" onclick="changeFilterSelection(2)" data-toggle="tooltip" data-placement="top" title="<%= n_('%s warning message', '%s warning messages', logs.warn_messages) % logs.warn_messages %>"><span class="pficon pficon-warning-triangle-o"></span><%= logs.warn_messages %></a></span>
      <% end %>
      <% unless icon_present %>
        <span class="card-pf-aggregate-status-notification"><span class="pficon pficon-ok"></span></span>
      <% end %>
    </p>
  </div>
</div>
