anchor.diff:          <%= raw(@photo.footer) %>
         </p>
         <p>
  -        <% if !@photo.source.blank? %>
  -        <i class="icon-external-link-sign"></i> <%= link_to @photo.copyright, absolute_url(@photo.source), target: '_blank' %>
  -        <% end %>
  +        <%= render 'shared/show_photo_credit', photo: @photo %>
         </p>
   
         <%= render 'shared/show_admin_links', item: @photo %>
  
positive.code: 
  </div>
  
  <!-- FIXME: Annotorious Proof of Concept. Much improvement left -->
  <script src="/javascripts/annotorious/annotorious.min.js"></script>
  <script src="/javascripts/annotorious/anno-rest-storage-plugin.js"></script>
  <%
  # Annotorious seems to break the $ jQuery object, which creates havoc with 
  # other Javascript code, so we load it dynamically after the page is loaded.
  # Interestingly this doesn't happen with the dev (uncompiled) version. More
  # interestingly trying to restore it ($=jQuery) breaks the plugin 
  %>
  <script>
  jQuery(function() {
  
negative.code:                   });
  });
  </script>
  <%# This is not a secure way of avoiding edits, but the real check is in the controller %>
  <% if not can? :manage, @photo %>
  <style>
    .annotorious-popup-button-edit,
    .annotorious-popup-button-delete {
      display: none;
    }
  </style>
  <% end %>
  