<% # 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 %>
<% if (collection_presenter.thumbnail_path == nil) %> <% else %> <%= image_tag(collection_presenter.thumbnail_path) %> <% end %>
<%= link_to collection_presenter.show_path, id: "src_copy_link#{id}" 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(', ') %>

<%= 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 %>