anchor.diff:              Disabled
             <% end %>
   
  +        <a name="scheduled_maintenance_periods"></a>
           <h3>Scheduled Maintenance Periods</h3>
             <% if @scheduled_maintenances && !@scheduled_maintenances.empty? %>
               <table class="table table-bordered table-hover table-condensed">
  
positive.code:         </div>
          <% state_qualifier = @check_enabled ? '' : "DISABLED. Last " %>
          <h3><%= state_qualifier %>State: <%= @check_state ? h(@check_state.upcase) : '' %></h3>
          <% if (['warning', 'critical', 'unknown'].include?(@check_state) and !@current_scheduled_maintenance) %>
            <form action="/acknowledgements/<%= check_path_escaped %>" method="post" class="form-inline">
              <input type="hidden" name="acknowledgement_id" value="<%= @acknowledgement_id %>">
  
negative.code:             e.g. "5 hours"
            </form>
          <% end %>
          <% if @current_scheduled_maintenance %>
            <% maint_msg = "#{@current_scheduled_maintenance[:summary]}" %>
            <% maint_msg = maint_msg.length > 0 ? maint_msg : 'no summary given' %>
            <h4>In <a href="#scheduled_maintenance_periods">Scheduled Maintenance</a> (<%= h maint_msg %>)</h4>
            <% start  = Time.at(@current_scheduled_maintenance[:start_time]) %>
            <% finish = Time.at(@current_scheduled_maintenance[:start_time] + @current_scheduled_maintenance[:duration]) %>
            <% remain = time_period_in_words( (finish - current_time).ceil ) %>
  