anchor.diff:      <% end %>
     </table>
   <% else %>
  -  <p>No contacts</p>
  -<% end %>
  +  <p>There are <strong>no contacts</strong> associated with this check.</p>
  +<% end %>
  +</div>
  +</div>
  +
  +<div class="row">
  +  <div class="col-md-8">
  +    <div class="panel panel-danger">
  +      <div class="panel-heading">
  +        <h3 class="panel-title">
  +          <i class="fa fa-warning"></i>
  +          Zone of Surprise
  +        </h3>
  +      </div>
  +    <div class="panel-body">
  +      <% if @check_enabled %>
  +        <h4>Decommission check</h4>
  +        <form action="/checks/<%= check_path_escaped %>" method="post" style="display:inline-block" class="pull-right">
  +          <input type='hidden' name='_method' value='delete'>
  +          <button type='submit' class="btn btn-danger">Decommission Check</button>
  +        </form>
  +        <p>
  +          Hide the check from the Flapjack web interface.
  +          Use this if you are no longer actively running this check.
  +        </p>
  +        <p>
  +          Flapjack will automatically re-commission this check if it receives another event for it.
  +        </p>
  +      <% else %>
  +      <p>
  +        This check has been decommissioned.
  +      </p>
  +      <p>
  +        Flapjack will re-commission this check if it receives another event for it.
  +      </p>
  +      <% end %>
  +    </div>
  +  </div>
  +</div>
  +
  +
  
positive.code:   <h2><%= h @check %> on <a href="<%= entity_link %>" title="entity summary"><%= h @entity %></a></h2>
  </div>
  
  <%
    state_qualifier = @check_enabled ? '' : "DISABLED. Last "
    state_class     = case @check_state
                      when 'ok'
                        'success'
                      when 'critical'
                        'danger'
                      else
  
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? %>
  