Skip to content

Commit

Permalink
update facets to col-lg-2
Browse files Browse the repository at this point in the history
  • Loading branch information
dnoneill committed Aug 30, 2024
1 parent 0b43c2d commit e4903f5
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions app/helpers/earthworks_blacklight_helper.rb
Original file line number Diff line number Diff line change
@@ -1,13 +1,25 @@
module EarthworksBlacklightHelper
include Blacklight::LayoutHelperBehavior
# Blacklight override for show main content
def show_content_classes
'col-lg-10 show-document row'
end

# Blacklight override for show page sidebar
def show_sidebar_classes
'page-sidebar col-lg-2'
end

# Blacklight override for search results
def main_content_classes
'col-lg-10'
end

# Blacklight override for search result facets
def sidebar_classes
'page-sidebar col-lg-2'
end

def render_details_links(args)
tag.ul class: 'list-unstyled' do
args[:document].identifiers.collect { |identifier| concat tag.li(link_to(identifier, identifier)) }
Expand Down

0 comments on commit e4903f5

Please sign in to comment.