From b8ebc0cfb155c6c1ea943861ae05f47681101b95 Mon Sep 17 00:00:00 2001 From: Timon Bakker Date: Mon, 26 Sep 2022 08:45:05 +0200 Subject: [PATCH] Only show language switcher if admin --- templates/customize-class.html | 6 ------ templates/incl-editor-and-output.html | 2 +- 2 files changed, 1 insertion(+), 7 deletions(-) diff --git a/templates/customize-class.html b/templates/customize-class.html index 91397de3db6..41236f96123 100644 --- a/templates/customize-class.html +++ b/templates/customize-class.html @@ -133,12 +133,6 @@

{{_('other_settings')}}

- - {{_('hide_keyword_switcher')}} - - - - {{_('hide_quiz')}} diff --git a/templates/incl-editor-and-output.html b/templates/incl-editor-and-output.html index f69ddb2013c..807c8a170b7 100644 --- a/templates/incl-editor-and-output.html +++ b/templates/incl-editor-and-output.html @@ -3,7 +3,7 @@
- {% if other_keyword_language() and (not customizations or 'hide_keyword_switcher' not in customizations['other_settings']) and not editor_readonly %} + {% if is_admin and other_keyword_language() %}