Skip to content

Commit 2d59650

Browse files
committed
Add spaces index to directory
1 parent f9f22a2 commit 2d59650

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

app/views/layouts/_header.html.erb

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,8 @@
5151
{ feature: 'collections', link: collections_path },
5252
{ feature: 'trainers', link: trainers_path },
5353
{ feature: 'content_providers', link: content_providers_path },
54-
{ feature: 'nodes', link: nodes_path }
54+
{ feature: 'nodes', link: nodes_path },
55+
{ feature: 'spaces', link: spaces_path }
5556
].select do |t|
5657
t[:feature] == 'about' || TeSS::Config.feature[t[:feature]]
5758
end.sort_by do |t|

config/tess.example.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ default: &default
126126
# The order in which the tabs appear (if feature enabled)
127127
tab_order: ['about', 'events', 'materials', 'elearning_materials', 'workflows', 'collections', 'trainers', 'content_providers', 'nodes']
128128
# The tabs that should be collapsed under the "Directory" tab. Can be left blank to hide it.
129-
directory_tabs: ['trainers', 'content_providers', 'nodes']
129+
directory_tabs: ['trainers', 'content_providers', 'nodes', 'spaces']
130130
# The order in with the 'about us' tabs appear
131131
about_us_tab_order: ['tess_club', 'contact', 'team', 'funding', 'acknowledgements', 'cite']
132132
n_provider_ids: 5

0 commit comments

Comments
 (0)