anchor.diff:        <dd><a href="#"><%= @document.details.case_state.capitalize unless @document.details.empty? %></a></dd>
         
         <dt>Outcome type:</dt>
  -      <dd><%= @document.details.outcome_type.capitalize unless @document.outcome_type.blank? %></dd>
  +      <dd><%= @document.details.outcome_type.capitalize unless @document.details.empty? %></dd>
       </dl>
     </div>
     <div class='summary'>
  
positive.code:         <dt>Last updated:</dt>
          <dd><%= nice_date_format @document.updated_at %></dd>
        </dl>
        <a href='#'>+ full page history</a>
      </div>
    </div>
    <div class='links'>
  
negative.code:       <dd><%= nice_date_format @document.updated_at %></dd>
  
        <dt>Page history:</dt>
        <dd>Updated <%= nice_date_format @document.updated_at %>.
        </dd>
  
        <dt>Sector:</dt>
  