% # used by Your Collections tab %>
<% id = collection_presenter.id %>
<%# Data attributes referenced by the javascript for row actions %>
<% if collection_presenter.allow_batch? %>
<% else %>
<% end %>
|
<%# 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(', ') %>
|
<%= collection_presenter.collection_type_badge %>
|
<%= collection_presenter.permission_badge %> |
<%= collection_presenter.total_viewable_items %> |
<%= collection_presenter.modified_date.try(:to_formatted_s, :standard) %> |
<% 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 %>
|