diff --git a/app/views/layouts/homepage.html.erb b/app/views/layouts/homepage.html.erb index 01e1f00e..b99c6389 100644 --- a/app/views/layouts/homepage.html.erb +++ b/app/views/layouts/homepage.html.erb @@ -1,7 +1,7 @@ <% content_for(:navbar) do %>
-
style="background-image: url('<%= banner_image %>')">
+
@@ -18,4 +18,4 @@ <%= render 'hyrax/homepage/announcement' if controller_name == 'homepage' %> <% end %> -<%= render template: 'layouts/hyrax' %> \ No newline at end of file +<%= render template: 'layouts/hyrax' %> diff --git a/app/views/themes/cultural_repository/layouts/homepage.html.erb b/app/views/themes/cultural_repository/layouts/homepage.html.erb index b4f0ea18..70e3f076 100644 --- a/app/views/themes/cultural_repository/layouts/homepage.html.erb +++ b/app/views/themes/cultural_repository/layouts/homepage.html.erb @@ -2,7 +2,7 @@ <% content_for(:navbar) do %>
-
+
<% if controller_name == 'homepage' %> @@ -25,4 +25,4 @@ <%= render 'hyrax/homepage/announcement' if controller_name == 'homepage' || controller_name == 'hyrax_contact_form' || controller_name == 'pages' %> <% end %> -<%= render template: 'layouts/hyrax' %> \ No newline at end of file +<%= render template: 'layouts/hyrax' %> diff --git a/app/views/themes/dc_repository/layouts/homepage.html.erb b/app/views/themes/dc_repository/layouts/homepage.html.erb index ff35b03c..051ee297 100644 --- a/app/views/themes/dc_repository/layouts/homepage.html.erb +++ b/app/views/themes/dc_repository/layouts/homepage.html.erb @@ -3,7 +3,7 @@ <% content_for(:navbar) do %>
-
+
<% # OVERRIDE: Hyrax v3.4.1 - remove background-container-gradient %> <% # OVERRIDE: Hyrax v3.4.1 - remove site-title-container %> <% # OVERRIDE: Hyrax v3.4.1 - add divs and classes for custom styles %> @@ -20,10 +20,10 @@
<%# Dynamically show number of collections and works %> - <% collection_count = number_to_human(Collection.count, units: {thousand: "K"}) %> + <% collection_count = number_to_human(Collection.count, units: {thousand: "K"}) %> <%= collection_count.gsub(/\s+/, "") %> Collections <% work_count = GenericWork.count + Image.count + Audio.count + Book.count + CompoundObject.count + Newspaper.count + Pdf.count + Video.count %> - <% work_count_converted = number_to_human(work_count, units: {thousand: "K"}) %> + <% work_count_converted = number_to_human(work_count, units: {thousand: "K"}) %> <%= work_count_converted.gsub(/\s+/, "") %> Works and more.
@@ -31,8 +31,8 @@
- -
+ +
<%= render '/controls' %>
@@ -44,4 +44,4 @@ <%= render 'hyrax/homepage/announcement' if controller_name == 'homepage' %> <% end %> -<%= render template: 'layouts/hyrax' %> \ No newline at end of file +<%= render template: 'layouts/hyrax' %> diff --git a/app/views/themes/institutional_repository/layouts/homepage.html.erb b/app/views/themes/institutional_repository/layouts/homepage.html.erb index c36aeb3e..dcbfcd80 100644 --- a/app/views/themes/institutional_repository/layouts/homepage.html.erb +++ b/app/views/themes/institutional_repository/layouts/homepage.html.erb @@ -2,7 +2,7 @@ <% content_for(:navbar) do %>
-
+
@@ -47,4 +47,4 @@ <%= render 'hyrax/homepage/announcement' if controller_name == 'homepage' %> <% end %> -<%= render template: 'layouts/hyrax' %> \ No newline at end of file +<%= render template: 'layouts/hyrax' %> diff --git a/app/views/themes/neutral_repository/layouts/homepage.html.erb b/app/views/themes/neutral_repository/layouts/homepage.html.erb index 49cca5e1..61e7d561 100644 --- a/app/views/themes/neutral_repository/layouts/homepage.html.erb +++ b/app/views/themes/neutral_repository/layouts/homepage.html.erb @@ -2,7 +2,7 @@ <% content_for(:navbar) do %>
-
+