% noid = document.noid %>
">
<% gf = GenericFile.load_instance_from_solr(document.id) %>
<%= batch_edit_select(document) %> |
<%# This block is for adding/removing the magic wand while batch updates are processing %>
<% if gf.processing? %>
<% elsif gf.depositor != @user.user_key %>
<% end %>
|
<%= link_to sufia.generic_file_path(document) do %>
<%= render_thumbnail_tag document %>
<% end %>
<%= link_to document.title_or_label, sufia.generic_file_path(noid), id: "src_copy_link#{noid}", class: "#{'document-title' if document.title_or_label == document.label}" %>
|
<%= document.date_uploaded %> |
<% if document.registered? %>
<%= t('sufia.institution_name') %>
<% elsif document.public? %>
Open Access
<% else %>
Private
<% end %>
|
<%= render partial: 'action_menu', locals: { noid: noid, gf: gf } %>
|
- File Name:
- <%= link_to document.label, sufia.generic_file_path(noid) %>
- File Format:
- <%= document.file_format %>JPG
- Creator:
- <%= document.creator %>
- Depositor:
- <%= link_to_profile document.depositor %>
- Edit Access:
-
<% if document.edit_groups.present? %>
Groups: <%= document.edit_groups.join(', ') %>
<% end %>
Users: <%= document.edit_people.join(', ') %>
|