anchor.diff: +<script type="text/javascript">var ie = false;</script>
  +<!--[if IE]>
  +<script type="text/javascript">ie = true;</script>
  +<![endif]-->
  +
   <div class="close_link">
     <a onclick="$(this).parent().parent().fadeOut(function (){ $(this).remove() }); return false;" href="#">[x]</a>
   </div>
  
positive.code:   
    <p>
      <% if current_user == @shift.user and !@shift.has_passed? and @shift.report.nil? %>
        <%= button_to "Sign in", shift_report_path(@shift), :method => :post %>
      <% end %>
    
      <% if !@shift.has_passed? and @shift.has_sub? and current_user != @shift.user %>
  
negative.code:         <% end %>
  
          <% if current_user == @shift.user and !@shift.has_passed? %>
            <%= button_to "Sign in", shift_report_path(@shift), :method => :post, :onclick => "if(ie){window.location.href='#{escape_javascript(shift_path(@shift))}'}" %>
          <% end %>
          <% if !@shift.has_passed? and !@shift.submitted? %>
            <% if @shift.has_sub? %>
  