anchor.diff:    <p><%= h start.to_s %> -&gt; <%= h finish.to_s %> (<%= h remain %> remaining)</p>
   <% end %>
   
  +</div>
  +</div>
  +
  +<div class="row">
  +  <div class="col-md-6">
   <h3>Output: <%= h @check_summary %></h3>
   <p><%= h @check_details %></p>
   <table class="table table-hover table-condensed">
  
positive.code:     <% end %>
    </table>
  <% else %>
    <p>No contacts</p>
  <% end %>
  
negative.code:     </tr>
    <% end %>
  </table>
    </div>
    <div class="col-md-6">
      <h3>Recent state changes</h3>
    <% if @state_changes && !@state_changes.empty? %>
      <table class="table table-hover table-condensed">
        <tr>
          <th>Timestamp</th>
          <th>State</th>
          <th>Summary</th>
        </tr>
        <% @state_changes.each do |state_change| %>
        <tr>
          <td><%= h Time.at(state_change[:timestamp]).to_s %></td>
          <td><%= h state_change[:state] %></td>
          <td><%= h state_change[:summary] %></td>
        </tr>
        <% end %>
      </table>
    <% else %>
      <p>No state changes recorded for this check.</p>
    <% end %>
    </div>
  </div>
  
  <div class="row">
    <div class="col-md-12">
    <a name="scheduled_maintenance_periods"></a>
    <h3>Scheduled Maintenance Periods</h3>
  <% if @scheduled_maintenances && !@scheduled_maintenances.empty? %>
  