From 6a3e858e7587cac8dc2dd1a03a673121863b5218 Mon Sep 17 00:00:00 2001 From: Nick Budak Date: Thu, 12 Sep 2024 11:04:53 -0700 Subject: [PATCH] Capitalize the W in EarthWorks Fixes #1403 --- app/components/blacklight/top_navbar_component.html.erb | 2 +- app/components/dropdown_component.rb | 2 +- config/importmap.rb | 2 +- lib/earthworks/harvester.rb | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/app/components/blacklight/top_navbar_component.html.erb b/app/components/blacklight/top_navbar_component.html.erb index d30116cb..0bccc63c 100644 --- a/app/components/blacklight/top_navbar_component.html.erb +++ b/app/components/blacklight/top_navbar_component.html.erb @@ -150,7 +150,7 @@
- +
diff --git a/app/components/dropdown_component.rb b/app/components/dropdown_component.rb index 34a911ab..9bc8a5a2 100644 --- a/app/components/dropdown_component.rb +++ b/app/components/dropdown_component.rb @@ -3,7 +3,7 @@ class DropdownComponent < Blacklight::System::DropdownComponent def before_render # this is overriding the default button classes set in Blacklight - # (we want to use btn-outline-primary for Earthworks instead of btn-outline-secondary) + # (we want to use btn-outline-primary for EarthWorks instead of btn-outline-secondary) with_button(label: button_label, classes: %w[btn btn-outline-primary dropdown-toggle]) super end diff --git a/config/importmap.rb b/config/importmap.rb index 1e697f34..f34b1141 100644 --- a/config/importmap.rb +++ b/config/importmap.rb @@ -13,6 +13,6 @@ pin 'blacklight', to: 'https://cdn.skypack.dev/blacklight-frontend@8.3.0/dist/blacklight.js' pin '@github/auto-complete-element', to: 'https://cdn.skypack.dev/@github/auto-complete-element' -# Earthworks +# EarthWorks pin_all_from 'app/javascript/controllers', under: 'controllers' pin_all_from 'app/javascript' diff --git a/lib/earthworks/harvester.rb b/lib/earthworks/harvester.rb index d52ced78..1467cdf8 100644 --- a/lib/earthworks/harvester.rb +++ b/lib/earthworks/harvester.rb @@ -40,7 +40,7 @@ def restricted?(record) end # We transform some records in order to get more consistent metadata display - # in Earthworks, especially for facets. + # in EarthWorks, especially for facets. def transform_record(record, path) # Transform provider name to a shorter, consistent value based on the repository if (transformed_provider = @ogm_repos.dig(record_repo(path), :provider))