Sha256: c0b072af6b6a0eb8fef880c7a00cf878a33155c5cad7f6313568d3632c4d7014

Contents?: true

Size: 1.52 KB

Versions: 22

Compression:

Stored size: 1.52 KB

Contents

<% sidebar_items << capture do %>
  <p><%= link_back_to_catalog %></p>
<% end %>
<h1>Selected Items</h1>

<% unless @documents.empty? %>
  <%- # just adding pageEntriedInfo div to get the proper rounded corners at the top -%>
  <div class="pageEntriesInfo"></div>
  <%= render "catalog/sort_and_per_page" %>
  <%= render "catalog/results_pagination" %>
  
  <%= render 'tools' %>  
<% end %>

<div id="documents">  
  <% @documents.each_with_index do |document, i| %>
    <% # container for a single doc -%>
    <div class="document">
      <% # header bar for doc items in index view -%>
      <div class="documentHeader">
        <div class="documentFunctions">          
          <div class="in_folder">
            <%= render :partial=>'catalog/folder_control', :locals=>{:document=>document} %>
          </div>
        </div>  
      
        <h3 class="index_title"><%= i + 1 + @response.params[:start].to_i%>. <%= link_to_document document, :label => document_show_link_field, :results_view => false %></h3>
        
              
      </div>
      
	    <%= render_document_partial document, :index %>
	    <% if document.respond_to?(:export_as_openurl_ctx_kev) %>
        <!-- 
             // COinS, for Zotero among others. 
             // This document_partial_name(@document) business is not quite right,
             // but has been there for a while. 
        -->
        <span class="Z3988" title="<%= document.export_as_openurl_ctx_kev(document_partial_name(document)) %>"></span>
      <% end %>
    </div>
  
  <% end %>
</div>

Version data entries

22 entries across 22 versions & 1 rubygems

Version Path
blacklight-3.0pre2 app/views/folder/index.html.erb
blacklight-3.0pre1 app/views/folder/index.html.erb