From 93fef370338c0f28620c0a5d12ea7a5f24344306 Mon Sep 17 00:00:00 2001 From: Simon Vieille Date: Tue, 23 May 2023 14:09:55 +0200 Subject: [PATCH] add option to show hovered label only on top menu --- lib/Controller/JsController.php | 2 +- src/AppMenu.vue | 29 ++++++++++++++++++++++------- src/l10n/fixtures/cs.yaml | 1 + src/l10n/fixtures/de.yaml | 1 + src/l10n/fixtures/es.yaml | 1 + src/l10n/fixtures/fr.yaml | 1 + src/l10n/fixtures/nl.yaml | 1 + src/l10n/fixtures/ru.yaml | 1 + src/l10n/fixtures/tpl/base.yaml | 1 + src/l10n/fixtures/zh_CN.yaml | 1 + templates/settings/admin-form.php | 2 +- 11 files changed, 32 insertions(+), 9 deletions(-) diff --git a/lib/Controller/JsController.php b/lib/Controller/JsController.php index 3abcdba..13d803e 100644 --- a/lib/Controller/JsController.php +++ b/lib/Controller/JsController.php @@ -171,7 +171,7 @@ class JsController extends Controller 'avatar' => $avatar, 'top-menu-apps' => $topMenuApps, 'top-side-menu-apps' => $topSideMenuApps, - 'top-menu-mouse-over-hidden-label' => $this->config->getAppValueBool( + 'top-menu-mouse-over-hidden-label' => $this->config->getAppValueInt( 'top-menu-mouse-over-hidden-label', '0' ), diff --git a/src/AppMenu.vue b/src/AppMenu.vue index 0e550d7..52a9810 100644 --- a/src/AppMenu.vue +++ b/src/AppMenu.vue @@ -24,14 +24,14 @@