Skip to content

Commit

Permalink
Link the SUL logo to the library website
Browse files Browse the repository at this point in the history
Fixes #134
  • Loading branch information
jcoyne committed Nov 10, 2022
1 parent dbcfa49 commit 850f930
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 1 deletion.
2 changes: 2 additions & 0 deletions app/controllers/catalog_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ class CatalogController < ApplicationController # rubocop:disable Metrics/ClassL
include Arclight::Catalog

configure_blacklight do |config|
config.logo_link = 'https://library.stanford.edu/'

## Class for sending and receiving requests from a search index
# config.repository_class = Blacklight::Solr::Repository
#
Expand Down
2 changes: 1 addition & 1 deletion config/locales/blacklight.en.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
en:
blacklight:
application_name: 'Taube Archive of the International Military Tribunal (IMT) at Nuremberg, 1945-46'
application_name: Virtual Tribunals
search:
facets:
title: Find items by…
5 changes: 5 additions & 0 deletions spec/requests/home_page_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,11 @@
it "is a custom page that introduces the project" do
get "/"
expect(response).to have_http_status(:ok)

# Header
expect(page).to have_link 'Virtual Tribunals', href: 'https://library.stanford.edu/'

# Main
expect(page).to have_text 'Content goes here'
end
end

0 comments on commit 850f930

Please sign in to comment.