From 6aeed03385f1128f30c51af039cc09f6430a7fd5 Mon Sep 17 00:00:00 2001 From: Sarah Proctor Date: Mon, 29 Jul 2024 11:30:38 -0700 Subject: [PATCH] :gift: Remove featured collections block This commit removes all references to the feature collections from the home page. Ref: - https://github.com/scientist-softserv/utk-hyku/issues/654 --- app/views/hyrax/homepage/_home_content.html.erb | 2 +- .../themes/dc_repository/hyrax/homepage/_home_content.html.erb | 2 +- .../institutional_repository/_ir_below_stats_layout.html.erb | 2 +- app/views/themes/neutral_repository/_theme_container.html.erb | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/app/views/hyrax/homepage/_home_content.html.erb b/app/views/hyrax/homepage/_home_content.html.erb index ec03f25d..bc7ed67f 100644 --- a/app/views/hyrax/homepage/_home_content.html.erb +++ b/app/views/hyrax/homepage/_home_content.html.erb @@ -45,7 +45,7 @@

<%= t('hyrax.homepage.admin_sets.title') %>

- <%= render 'featured_collection_section' %> + <%#= render 'featured_collection_section' %>
<%# add check for featured researcher %> <% if @presenter.display_featured_researcher? %> diff --git a/app/views/themes/dc_repository/hyrax/homepage/_home_content.html.erb b/app/views/themes/dc_repository/hyrax/homepage/_home_content.html.erb index 2720938e..b3f33460 100644 --- a/app/views/themes/dc_repository/hyrax/homepage/_home_content.html.erb +++ b/app/views/themes/dc_repository/hyrax/homepage/_home_content.html.erb @@ -19,7 +19,7 @@ <%# OVERRIDE: Hyrax v3.4.2 - add featured collections section, remove div classes %>

<%= t('hyrax.homepage.admin_sets.title') %>

- <%= render 'featured_collection_section' %> + <%#= render 'featured_collection_section' %>
<%# OVERRIDE: Hyrax v3.4.2 - add browse collection section, remove div classes %>
diff --git a/app/views/themes/institutional_repository/_ir_below_stats_layout.html.erb b/app/views/themes/institutional_repository/_ir_below_stats_layout.html.erb index 8a952d04..4e00a43f 100644 --- a/app/views/themes/institutional_repository/_ir_below_stats_layout.html.erb +++ b/app/views/themes/institutional_repository/_ir_below_stats_layout.html.erb @@ -2,7 +2,7 @@

Featured Collections

- <%= render 'featured_collection_section' %> + <%#= render 'featured_collection_section' %>
diff --git a/app/views/themes/neutral_repository/_theme_container.html.erb b/app/views/themes/neutral_repository/_theme_container.html.erb index 578944cd..3e60d70b 100644 --- a/app/views/themes/neutral_repository/_theme_container.html.erb +++ b/app/views/themes/neutral_repository/_theme_container.html.erb @@ -18,7 +18,7 @@