Skip to content

Commit

Permalink
add HRP and reactivate tate in inst menu (#571)
Browse files Browse the repository at this point in the history
* add HRP and reactivate tate in inst menu

* fix sub-domain in helper
  • Loading branch information
cziaarm authored Oct 31, 2024
1 parent bcbcf40 commit 99d3742
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 5 deletions.
9 changes: 5 additions & 4 deletions app/helpers/ubiquity/preselect_institution_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,15 @@ def fetch_institution_by_tenant
tenant_name = ubiquity_url_parser request.original_url
institution_hash = {
'British Library' => ['sandbox', 'sandbox2', 'bl', 'bl-demo'],
'British Museum' => ['britishmuseum', 'britishmuseum-demo'],
'Historic Royal Palaces' => ['historicroyalpalaces', 'historicroyalpalaces-demo'],
'MOLA' => ['sandbox2', 'mola', 'mola-demo'],
'National Library of Scotland' => ['nls', 'nls-demo'],
'National Museums Scotland' => ['nms', 'nms-demo'],
'British Museum' => ['britishmuseum', 'britishmuseum-demo'],
'Tate' => ['tate', 'tate-demo'],
'National Trust' => ['nt', 'nt-demo'],
'Royal Botanic Gardens, Kew' => ['kew', 'kew-demo'],
'Science Museum Group' => ['sciencemuseumgroup', 'sciencemuseumgroup-demo'],
'National Trust' => ['nt', 'nt-demo'],
'National Library of Scotland' => ['nls', 'nls-demo'],
'Tate' => ['tate', 'tate-demo'],
'The Alan Turing Institute' => ['ati', 'ati-demo'],
'' => ['nhs', 'nhs-demo']
}
Expand Down
5 changes: 4 additions & 1 deletion config/authorities/institution.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ terms:
- id: British Museum
term: British Museum
active: true
- id: Historic Royal Palaces
term: Historic Royal Palaces
active: true
- id: MOLA
term: MOLA
active: true
Expand All @@ -24,7 +27,7 @@ terms:
active: true
- id: Tate
term: Tate
active: false
active: true
- id: Barts Health NHS Trust
term: Barts Health NHS Trust
active: false
Expand Down

0 comments on commit 99d3742

Please sign in to comment.