Sha256: 8a995ca7267cc563b25cf583fe3a3e573ce09427eb4cdd7cdc45f2c8bdb5bef3

Contents?: true

Size: 1.37 KB

Versions: 6

Compression:

Stored size: 1.37 KB

Contents

    <tr>
      <% if display_thumbs %>
        <td class="col-sm-2">
          <%= link_to_profile recent_document.depositor("no depositor value") %>
          <%= link_to sufia.generic_file_path(recent_document) do %>
            <%= render_thumbnail_tag recent_document, { width: 45 } %>
          <% end %>
        </td>
      <% end %>
      <td>
        <h3>
          <span class="sr-only">Title</span><%= link_to truncate(recent_document.title_or_label, length: 28, separator: ' '), sufia.generic_file_path(recent_document)  %>
          <% if display_access %>
              <% if recent_document.registered? %>
                 <span class="label label-info" title="<%=t('sufia.institution_name') %>"><%=t('sufia.institution_name') %></span>
              <% elsif recent_document.public? %>
                <span class="label label-success">Open Access</span>
              <% else %>
                <span class="label label-danger">Private</span>
              <% end %>
          <% end %>
        </h3>
        <p>
          <span class="sr-only">Filename</span><%= link_to truncate(recent_document.label, length: 25),
              sufia.generic_file_path(recent_document), title: recent_document.label %><br />
          <span class="sr-only">Keywords</span><%= link_to_facet_list(recent_document.tags, 'tag', 'no keywords specified').html_safe %>
        </p>
      </td>
    </tr>

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
sufia-6.3.0 app/views/homepage/_recent_document.html.erb
sufia-6.2.0 app/views/homepage/_recent_document.html.erb
sufia-6.1.0 app/views/homepage/_recent_document.html.erb
sufia-6.0.0 app/views/homepage/_recent_document.html.erb
sufia-6.0.0.rc4 app/views/homepage/_recent_document.html.erb
sufia-6.0.0.rc3 app/views/homepage/_recent_document.html.erb