From 5cc31e26db8202b00089394bbbc00dbe88d0f61e Mon Sep 17 00:00:00 2001 From: Jonathan Date: Tue, 7 Nov 2023 09:38:40 +0100 Subject: [PATCH] #12268 add tooltip redirect message --- .../include/lib/Dashboard/Widgets/EventCardboard.php | 7 ++++++- pandora_console/include/styles/dashboards.css | 4 ++++ 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/pandora_console/include/lib/Dashboard/Widgets/EventCardboard.php b/pandora_console/include/lib/Dashboard/Widgets/EventCardboard.php index 13028b3c57..b13995c28e 100644 --- a/pandora_console/include/lib/Dashboard/Widgets/EventCardboard.php +++ b/pandora_console/include/lib/Dashboard/Widgets/EventCardboard.php @@ -331,8 +331,13 @@ class EventCardboard extends Widget $return_all_group = true; } + $help_tip = ui_print_help_tip( + __('Only the first group selected will be used on the redirect to events view.'), + true + ); + $inputs['inputs']['row1'][] = [ - 'label' => __('Groups'), + 'label' => __('Groups').$help_tip, 'arguments' => [ 'type' => 'select_groups', 'name' => 'groupId[]', diff --git a/pandora_console/include/styles/dashboards.css b/pandora_console/include/styles/dashboards.css index 818e523316..9f1b4f9bd7 100644 --- a/pandora_console/include/styles/dashboards.css +++ b/pandora_console/include/styles/dashboards.css @@ -953,3 +953,7 @@ input.resize_button { .parent_graph > .graph { margin-left: 10px; } + +.event-cardboard-widget td { + cursor: pointer; +}