Sha256: d2077c791b6807f36f2f74f20be93bb5cc7c8fb6ef21883f450355a82b5543c1

Contents?: true

Size: 562 Bytes

Versions: 4

Compression:

Stored size: 562 Bytes

Contents

<div>
  <% if recent_documents.blank? %>
    <% 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? %>
    <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

4 entries across 4 versions & 1 rubygems

Version Path
sufia-4.0.0.rc2 app/views/homepage/_recents.html.erb
sufia-4.0.0.rc1 app/views/homepage/_recents.html.erb
sufia-4.0.0.beta4 app/views/homepage/_recents.html.erb
sufia-4.0.0.beta3 app/views/homepage/_recents.html.erb