From 6c4f917e2a5e6e798bfa1a90355339bbd03502c8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sen=C3=A9n=20Rodero=20Rodr=C3=ADguez?= <15726+Senen@users.noreply.github.com> Date: Mon, 11 Dec 2023 13:10:08 +0100 Subject: [PATCH] [EXP] Show all admin settings tabs when javascript is disabled Otherwise administrators cannot access the settings from other tabs. --- app/views/layouts/_no_script.html.erb | 7 +++++++ app/views/layouts/admin.html.erb | 1 + 2 files changed, 8 insertions(+) create mode 100644 app/views/layouts/_no_script.html.erb diff --git a/app/views/layouts/_no_script.html.erb b/app/views/layouts/_no_script.html.erb new file mode 100644 index 000000000..3ef670aed --- /dev/null +++ b/app/views/layouts/_no_script.html.erb @@ -0,0 +1,7 @@ + diff --git a/app/views/layouts/admin.html.erb b/app/views/layouts/admin.html.erb index 7f434cde3..7049c9aa5 100644 --- a/app/views/layouts/admin.html.erb +++ b/app/views/layouts/admin.html.erb @@ -2,6 +2,7 @@ > <%= render "layouts/common_head", default_title: "Admin" %> + <%= render "layouts/no_script" %> <%= content_for :head %>