From 601f1852196ad360944c4bef7111da401bf2a510 Mon Sep 17 00:00:00 2001 From: Finn Bacall Date: Tue, 10 Sep 2024 09:07:14 +0100 Subject: [PATCH] Hide learning paths help section if the feature is not enabled --- app/views/about/_about_nav.html.erb | 22 ++++++++++++---------- app/views/about/_links.html.erb | 4 +++- app/views/about/learning_paths.html.erb | 2 +- test/controllers/about_controller_test.rb | 22 ++++++++++++++++++++-- 4 files changed, 36 insertions(+), 14 deletions(-) diff --git a/app/views/about/_about_nav.html.erb b/app/views/about/_about_nav.html.erb index a700b8c65..a15616a3b 100644 --- a/app/views/about/_about_nav.html.erb +++ b/app/views/about/_about_nav.html.erb @@ -20,16 +20,18 @@ - + <% if TeSS::Config.feature['learning_paths'] %> + + <% end %>