anchor.diff:              <% end %>
             <% end %>
           </div>
  -        <div class="more"><%= link_to(t('view_all'), [current_subject, Document]) %></div>
  -      </div>
  -      <div id="repo-3" class="tab-pane">
  -        <%= render :partial => "common_documents/home_filter", :locals => {:filter_id => "home-resource-filter-more"} %>
  -        <div class="space_center"></div>
  -        <div id="home-resources-more" class="repositories row height-tabs-home">
  -          <% for document in current_subject_resources({:scope => :more, :limit => 6}) %>
  -            <% if document.is_a? Embed %>
  -              <%= render :partial => "embeds/home",
  -                         :locals => {:embed => document,
  -                                     :div_class => 'content_size'} %>
  -            <% elsif document.is_a? Link %>
  -               <%= render :partial => "links/home",
  -                          :locals => {:link => document,
  -                                      :div_class => 'content_size'} %>
  -            <% elsif document.is_a? Document %>
  -              <%= render :partial => "common_documents/home",
  -                         :locals => {:document => document,
  -                                     :div_class => 'content_size'} %>
  -            <% end %>
  -          <% end %>
  -        </div>
  -        <div class="more"><%= link_to(t('view_all'), search_path(:type => "resource")) %></div>
  -      </div>
  -      <div id="repo-4" class="tab-pane">
  -        <%= render :partial => "common_documents/home_filter", :locals => {:filter_id => "home-resource-filter-fav"} %>
  -        <div class="space_center"></div>
  -        <div id="home-resources-fav" class="repositories row height-tabs-home">
  -          <% fav_resources = current_subject_resources({:scope => :like, :limit => 6}) %>
  -          <% if fav_resources.size == 0 %>
  -            <%= render :partial => "common_documents/fav_zero_screen" %>
  -          <% else %>
  -            <% for document in fav_resources %>
  -              <% if document.is_a? Embed %>
  -                <%= render :partial => "embeds/home",
  -                           :locals => {:embed => document,
  -                                       :div_class => 'content_size'} %>
  -              <% elsif document.is_a? Link %>
  -                 <%= render :partial => "links/home",
  -                            :locals => {:link => document,
  -                                        :div_class => 'content_size'} %>
  -              <% elsif document.is_a? Document %>
  -                <%= render :partial => "common_documents/home",
  -                           :locals => {:document => document,
  -                                       :div_class => 'content_size'} %>
  -              <% end %>
  -            <% end %>
  -          <% end %>
  -        </div>
           <div class="more"><%= link_to(t('view_all'), url_for([current_user, Document]) + "?scope=like") %></div>
         </div>
       </div>
  
positive.code:         <%= render :partial => "excursions/filter", :locals => {:show_add => true, :filter_id => "home-excursion-filter-more"} %>
          <div class="space_center"></div>
          <div id="home-excursions-more" class="row height-tabs-home">
            <% for excursion in current_subject_excursions(:scope => :more) %>
              <%= render :partial => "excursions/home",
                         :locals => {:excursion => excursion} %>
            <% end %>
          </div>
          <div class="more"><%= link_to(t('view_all'), search_path(:type => "excursion")) %></div>
        </div>
  
negative.code:   $(document).ready(function(){
      $('.follower-tooltip').tooltip({ placement: 'bottom'});
    });
    $('a[data-toggle="tab"]').on('shown', function(e) {
      $('#' + e.target.href.split('#')[1]).find('input[name=filter]').keyup();
    });
  <% end %>
  
  </section>
  