anchor.diff: -<%if document.class==Video || document.class==Audio || document.class==Picture || document.class==Swf || document.class==Embed || document.class==Officedoc || document.class==Scormfile || document.class==Webapp %>
  +<%if document.class==Video || document.class==Audio || document.class==Picture || document.class==Swf || document.class==Embed || document.class==Officedoc || document.class==Scormfile || document.class==Webapp || document.class==Link %>
     <%=javascript_include_tag "jquery.zclip.min" %>
     <script type="text/javascript">
       $(document).ready(function(){
  
positive.code:       <%= link_to (raw("<i class='icon-edit'></i> <span class='hidden-tablet hidden-phone'>")) + t('document.actions.edit')+ raw("</span>"), '#document-edit', 'data-toggle' => 'tab' %>
      </li>
      <% end %>
      <%if document.class==Video || document.class==Audio || document.class==Picture || document.class==Swf || document.class==Embed || document.class==Officedoc || document.class == Scormfile || document.class == Webapp %>
        <li class="<%= document_details_tab_class document, :embed %>">
            <%= link_to (raw("<i class='icon-code'></i> <span class='hidden-tablet hidden-phone'>")) + t('excursion.actions.embed')+ raw("</span>"), '#document-embed', 'data-toggle' => 'tab' %>
        </li>
      <%end%>
      <li class="<%= document_details_tab_class document, :download %>">
          <%= link_to (raw("<i class='icon-download'></i> <span class='hidden-tablet hidden-phone'>")) + t('document.actions.download')+ raw("</span>"), '#document-download', 'data-toggle' => 'tab' %>
      </li>
  
      <li>
        <a href="#tab3" data-toggle="tab">
  
negative.code:         </button>
        </div>
      </div>
    <%elsif document.class==Link%>
      <div class="tab-pane <%= document_details_tab_class document, :embed %>" id="document-embed">
        <p class="documentembedexplanation"><%=t("document.embed_explanation")%></p>      
        <div class="contentembed">
        <textarea class="shortUrl" readonly="true" rows="6" id="textarea_for_iframe" type="text">&lt;iframe src="<%=document.url%>" width="800" height="600" &gt;&lt;/iframe&gt;</textarea>
  
          <button class="btn" id="btn_copy_embed" href="#" data-toggle="tooltip" data-placement="right" title="<%=t('copy_to_clip')%>">
            <i class="icon-copy large"></i>
          </button>
        </div>
      </div>
    <%end%>
  
  
  
    <div class="tab-pane" id="tab3">
      <div class="contentReport">
  