% # used by All and Managed Collections tabs %>
<% id = collection_presenter.id %>
<% if collection_presenter.allow_batch? %>
<% else %>
<% end %>
|
<% if (collection_presenter.thumbnail_path == nil) %>
<% else %>
<%= image_tag(collection_presenter.thumbnail_path, alt: "#{collection_presenter.title_or_label} #{t('hyrax.dashboard.my.sr.thumbnail')}") %>
<% end %>
<%= link_to collection_presenter.show_path do %>
<%= t("hyrax.dashboard.my.sr.show_label") %>
<%= collection_presenter.title_or_label %>
<% end %>
<%# Expand arrow %>
<%= "#{t("hyrax.dashboard.my.sr.detail_label")} #{collection_presenter.title_or_label}" %>
<%# Collection details %>
<%= t("hyrax.dashboard.my.collection_list.description") %>
<%= collection_presenter.description&.first %>
<%= t("hyrax.dashboard.my.collection_list.edit_access") %>
<% if collection_presenter.edit_groups.present? %>
<%= t("hyrax.dashboard.my.collection_list.groups") %> <%= collection_presenter.edit_groups.join(', ') %>
<% end %>
<%= t("hyrax.dashboard.my.collection_list.users") %> <%= collection_presenter.edit_people.join(', ') %>
|
<% if !current_ability.admin? %>
<%= collection_presenter.managed_access %> |
<% end %>
<%= collection_presenter.collection_type_badge %>
|
<%= collection_presenter.modified_date %> |
<%= collection_presenter.total_viewable_items %> |
<%= collection_presenter.permission_badge %> |
<% if collection_presenter.solr_document.admin_set? %>
<%= render '/hyrax/my/admin_set_action_menu', admin_set_presenter: collection_presenter %>
<% else %>
<%= render '/hyrax/my/collection_action_menu', collection_presenter: collection_presenter %>
<% end %>
|