Sha256: d92addf2874d9eb8d28b3efd6db5d6ff7dca336b1ef053fa3ac86a759ceee8c5

Contents?: true

Size: 710 Bytes

Versions: 36

Compression:

Stored size: 710 Bytes

Contents

<% msg = 'Login to see your recently added documents' if msg.blank? and current_user.blank? %>
<% msg = 'You have no documents to display. Contribute some of your documents!' if msg.blank? %>
<div>
  <div class='hide'>
    <%= link_to "Recent", sufia.catalog_recent_path, :remote => true, :id => 'recent_doc_link' %>
  </div>
  <% if recent_documents.blank? %>
      <h3>  <%= msg %> </h3>
  <% else %>

      <div id="recent_docs">
        <table class="table table-bordered table-striped"> 
          <%= render :partial => "recent_document", :collection => recent_documents, :locals=>{:display_thumbs=> display_thumbs, :display_access=> display_access} %>
        </table>
      </div>
   <% end %>

</div>

Version data entries

36 entries across 36 versions & 1 rubygems

Version Path
sufia-3.7.2 app/views/catalog/_recents.html.erb
sufia-3.7.1 app/views/catalog/_recents.html.erb
sufia-3.7.0 app/views/catalog/_recents.html.erb
sufia-3.6.1 app/views/catalog/_recents.html.erb
sufia-3.6.0 app/views/catalog/_recents.html.erb
sufia-3.5.0 app/views/catalog/_recents.html.erb
sufia-3.4.0 app/views/catalog/_recents.html.erb
sufia-3.4.0.rc4 app/views/catalog/_recents.html.erb
sufia-3.4.0.rc3 app/views/catalog/_recents.html.erb
sufia-3.3.1 app/views/catalog/_recents.html.erb
sufia-3.4.0.rc2 app/views/catalog/_recents.html.erb
sufia-3.4.0.rc1 app/views/catalog/_recents.html.erb
sufia-3.3.0 app/views/catalog/_recents.html.erb
sufia-3.2.1 app/views/catalog/_recents.html.erb
sufia-3.1.3 app/views/catalog/_recents.html.erb
sufia-3.1.2 app/views/catalog/_recents.html.erb
sufia-3.1.1 app/views/catalog/_recents.html.erb
sufia-3.1.0 app/views/catalog/_recents.html.erb
sufia-3.0.0 app/views/catalog/_recents.html.erb
sufia-2.0.1 app/views/catalog/_recents.html.erb