Skip to content

Commit 99d3742

Browse files
authored
add HRP and reactivate tate in inst menu (#571)
* add HRP and reactivate tate in inst menu * fix sub-domain in helper
1 parent bcbcf40 commit 99d3742

File tree

2 files changed

+9
-5
lines changed

2 files changed

+9
-5
lines changed

app/helpers/ubiquity/preselect_institution_helper.rb

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,15 @@ def fetch_institution_by_tenant
77
tenant_name = ubiquity_url_parser request.original_url
88
institution_hash = {
99
'British Library' => ['sandbox', 'sandbox2', 'bl', 'bl-demo'],
10+
'British Museum' => ['britishmuseum', 'britishmuseum-demo'],
11+
'Historic Royal Palaces' => ['historicroyalpalaces', 'historicroyalpalaces-demo'],
1012
'MOLA' => ['sandbox2', 'mola', 'mola-demo'],
13+
'National Library of Scotland' => ['nls', 'nls-demo'],
1114
'National Museums Scotland' => ['nms', 'nms-demo'],
12-
'British Museum' => ['britishmuseum', 'britishmuseum-demo'],
13-
'Tate' => ['tate', 'tate-demo'],
15+
'National Trust' => ['nt', 'nt-demo'],
1416
'Royal Botanic Gardens, Kew' => ['kew', 'kew-demo'],
1517
'Science Museum Group' => ['sciencemuseumgroup', 'sciencemuseumgroup-demo'],
16-
'National Trust' => ['nt', 'nt-demo'],
17-
'National Library of Scotland' => ['nls', 'nls-demo'],
18+
'Tate' => ['tate', 'tate-demo'],
1819
'The Alan Turing Institute' => ['ati', 'ati-demo'],
1920
'' => ['nhs', 'nhs-demo']
2021
}

config/authorities/institution.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@ terms:
55
- id: British Museum
66
term: British Museum
77
active: true
8+
- id: Historic Royal Palaces
9+
term: Historic Royal Palaces
10+
active: true
811
- id: MOLA
912
term: MOLA
1013
active: true
@@ -24,7 +27,7 @@ terms:
2427
active: true
2528
- id: Tate
2629
term: Tate
27-
active: false
30+
active: true
2831
- id: Barts Health NHS Trust
2932
term: Barts Health NHS Trust
3033
active: false

0 commit comments

Comments
 (0)