From a87be61ab4d8679c92042d5a35f7862869cab013 Mon Sep 17 00:00:00 2001 From: Yetrina Battad Date: Mon, 18 Dec 2023 13:46:55 +1100 Subject: [PATCH] revert: no need to customise DocumentComponent Also adds Sonoma to Gemfile.lock platforms. --- Gemfile.lock | 1 + .../blacklight/document_component.html.erb | 31 ------------------- 2 files changed, 1 insertion(+), 31 deletions(-) delete mode 100644 app/components/blacklight/document_component.html.erb diff --git a/Gemfile.lock b/Gemfile.lock index b2e0e8ba..a6c047b4 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -689,6 +689,7 @@ GEM PLATFORMS arm64-darwin-21 arm64-darwin-22 + arm64-darwin-23 x86_64-darwin-20 x86_64-darwin-21 x86_64-darwin-22 diff --git a/app/components/blacklight/document_component.html.erb b/app/components/blacklight/document_component.html.erb deleted file mode 100644 index ffc28842..00000000 --- a/app/components/blacklight/document_component.html.erb +++ /dev/null @@ -1,31 +0,0 @@ -<%= content_tag @component, - id: @id, - data: { - 'document-id': @document.id.to_s.parameterize, - 'document-counter': @counter, - }, - itemscope: true, - itemtype: @document.itemtype, - class: "#{classes.flatten.join(' ')}" do %> - <%= header %> - <% if body.present? %> - <%= body %> - <% else %> -
- <%= title %> - <%= embed %> - <%= content %> - <%= metadata %> - <% metadata_sections.each do |section| %> - <%= section %> - <% end %> - - <% partials.each do |partial| %> - <%= partial %> - <% end %> -
- - <%= thumbnail %> - <% end %> - <%= footer %> -<% end %>