Page MenuHomePhorge

No OneTemporary

Size
1 KB
Referenced Files
None
Subscribers
None
diff --git a/src/components/settings_modal/settings_modal_user_content.js b/src/components/settings_modal/settings_modal_user_content.js
index a6d850ec..f6b49819 100644
--- a/src/components/settings_modal/settings_modal_user_content.js
+++ b/src/components/settings_modal/settings_modal_user_content.js
@@ -64,6 +64,9 @@ const SettingsModalContent = {
},
bodyLock () {
return this.$store.state.interface.settingsModalState === 'visible'
+ },
+ expertLevel () {
+ return this.$store.state.config.expertLevel
}
},
methods: {
diff --git a/src/components/settings_modal/settings_modal_user_content.vue b/src/components/settings_modal/settings_modal_user_content.vue
index 695102bd..06605e7d 100644
--- a/src/components/settings_modal/settings_modal_user_content.vue
+++ b/src/components/settings_modal/settings_modal_user_content.vue
@@ -28,7 +28,8 @@
<StyleTab />
</div>
<div
- :label="$t('settings.theme')"
+ v-if="expertLevel > 0"
+ :label="$t('settings.theme_old')"
icon="paint-brush"
data-tab-name="theme"
>
diff --git a/src/i18n/en.json b/src/i18n/en.json
index a34e5cf9..e047cb79 100644
--- a/src/i18n/en.json
+++ b/src/i18n/en.json
@@ -701,6 +701,7 @@
"use_websockets": "Use websockets (Realtime updates)",
"text": "Text",
"theme": "Theme",
+ "theme_old": "Theme (old)",
"theme_help": "Use hex color codes (#rrggbb) to customize your color theme.",
"theme_help_v2_1": "You can also override certain component's colors and opacity by toggling the checkbox, use \"Clear all\" button to clear all overrides.",
"theme_help_v2_2": "Icons underneath some entries are background/text contrast indicators, hover over for detailed info. Please keep in mind that when using transparency contrast indicators show the worst possible case.",

File Metadata

Mime Type
text/x-diff
Expires
Sat, Nov 23, 11:54 AM (22 h, 43 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
38957
Default Alt Text
(1 KB)

Event Timeline