diff --git a/app/views/my/_index_partials/_default_group.html.erb b/app/views/my/_index_partials/_default_group.html.erb index df4dc6849a..c547067934 100644 --- a/app/views/my/_index_partials/_default_group.html.erb +++ b/app/views/my/_index_partials/_default_group.html.erb @@ -16,8 +16,6 @@ <% case document.hydra_model %> <% when "GenericWork" %> <%= render partial: 'my/_index_partials/list_works', locals: { document: document, counter: counter } %> - <% when "FileSet" %> - <%= render partial: 'my/_index_partials/list_files', locals: {document: document, counter: counter} %> <% when "Collection" %> <%= render partial: 'my/_index_partials/list_collections', locals: {document: document, counter: counter} %> <% else %> diff --git a/app/views/my/_index_partials/_list_files.html.erb b/app/views/my/_index_partials/_list_files.html.erb deleted file mode 100644 index c05f05aa3f..0000000000 --- a/app/views/my/_index_partials/_list_files.html.erb +++ /dev/null @@ -1,54 +0,0 @@ -<% id = document.id %> -"> - <% fs = document.to_model %> - - - <%= batch_edit_select(document) %>  - <%# This block is for adding/removing the magic wand while batch updates are processing %> - <% if fs.processing? %> - - <% elsif fs.depositor != @user.user_key %> - - <% end %> - - - <%= link_to sufia.file_set_path(document), id: "src_copy_link#{id}", class: "#{'document-title' if document.title_or_label == document.label}" do %> - <%= render_thumbnail_tag document, { class: "hidden-xs file_listing_thumbnail pull-left" }, { suppress_link: true } %> -
<%= t("sufia.dashboard.my.sr.show_label") %> <%= document.title_or_label %>
- <% end %> - - - <%= "#{t("sufia.dashboard.my.sr.detail_label")} #{document.title_or_label}" %> - -
<%= render_collection_list(fs) %>
- - <%= document.create_date %> - - <%= render_visibility_link document %> - - - <%= render partial: 'action_menu', locals: { id: id, fs: fs } %> - - - - -
-
File Name:
-
<%= link_to document.label, sufia.file_set_path(id) %>
-
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(', ') %> -
-
- -