From e783cd6f297bceae9df0d57ffb969cb737241e4b Mon Sep 17 00:00:00 2001 From: miguel angel rasteu Date: Tue, 23 May 2023 15:20:30 +0200 Subject: [PATCH 1/3] #11287 Add title to image --- pandora_console/include/ajax/module.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/pandora_console/include/ajax/module.php b/pandora_console/include/ajax/module.php index b20bad2a18..9e3e2580af 100755 --- a/pandora_console/include/ajax/module.php +++ b/pandora_console/include/ajax/module.php @@ -1267,7 +1267,10 @@ if (check_login()) { 'content' => html_print_image( 'images/module-graph.svg', true, - [ 'class' => 'main_menu_icon' ] + [ + 'title' => $module['nombre'], + 'class' => 'main_menu_icon forced_title', + ] ), ], true From d12d98d458633fb13b1dfe804e1c3b05e54bcbc8 Mon Sep 17 00:00:00 2001 From: miguel angel rasteu Date: Fri, 2 Jun 2023 11:42:18 +0200 Subject: [PATCH 2/3] #11287 Fix title icons --- pandora_console/include/ajax/module.php | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/pandora_console/include/ajax/module.php b/pandora_console/include/ajax/module.php index 9e3e2580af..1c9dbf3598 100755 --- a/pandora_console/include/ajax/module.php +++ b/pandora_console/include/ajax/module.php @@ -1252,7 +1252,10 @@ if (check_login()) { 'content' => html_print_image( 'images/event-history.svg', true, - [ 'class' => 'main_menu_icon' ] + [ + 'title' => __('Event history'), + 'class' => 'main_menu_icon forced_title', + ] ), ], true @@ -1268,7 +1271,7 @@ if (check_login()) { 'images/module-graph.svg', true, [ - 'title' => $module['nombre'], + 'title' => __('Module graph'), 'class' => 'main_menu_icon forced_title', ] ), @@ -1287,7 +1290,10 @@ if (check_login()) { 'content' => html_print_image( 'images/simple-value.svg', true, - [ 'class' => 'main_menu_icon' ] + [ + 'title' => __('Module detail'), + 'class' => 'main_menu_icon forced_title', + ] ), ], true From 964c1f3142c88e98226569cf59fff00f7fea8192 Mon Sep 17 00:00:00 2001 From: miguel angel rasteu Date: Fri, 2 Jun 2023 12:03:29 +0200 Subject: [PATCH 3/3] #11287 Fix title icons --- pandora_console/include/ajax/module.php | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/pandora_console/include/ajax/module.php b/pandora_console/include/ajax/module.php index 1c9dbf3598..fe6ba7ae01 100755 --- a/pandora_console/include/ajax/module.php +++ b/pandora_console/include/ajax/module.php @@ -1329,7 +1329,10 @@ if (check_login()) { 'content' => html_print_image( $imgaction, true, - [ 'class' => 'main_menu_icon' ] + [ + 'title' => __('Force remote check'), + 'class' => 'main_menu_icon forced_title', + ] ), ], true @@ -1346,7 +1349,10 @@ if (check_login()) { 'content' => html_print_image( 'images/edit.svg', true, - [ 'class' => 'main_menu_icon' ] + [ + 'title' => __('Edit configuration'), + 'class' => 'main_menu_icon forced_title', + ] ), ], true