Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Capitalize the W in EarthWorks #1406

Merged
merged 1 commit into from
Sep 12, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion app/components/blacklight/top_navbar_component.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@
<div
class="col-md-8 d-flex justify-content-center justify-content-md-start"
>
<div class="h1 my-3"><a href="/">Earthworks</a></div>
<div class="h1 my-3"><a href="/">EarthWorks</a></div>
</div>

</div>
Expand Down
2 changes: 1 addition & 1 deletion app/components/dropdown_component.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion config/importmap.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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'
2 changes: 1 addition & 1 deletion lib/earthworks/harvester.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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))
Expand Down