From d368dcbb7c1b987f7dfb70fad42ad7ebad232b77 Mon Sep 17 00:00:00 2001 From: Tatjana Dehler Date: Tue, 28 May 2019 08:33:08 +0200 Subject: [PATCH] mgr/dashboard: add a description tooltip for disabled items Add the possibility to show a description tooltip for disabled menu items. The description is optional. If no description is given for a specific menu item, no tooltip will be shown. Signed-off-by: Tatjana Dehler (cherry picked from commit 4a28b52990b6b4fa7e0f9505e4a37a2853ba620c) --- .../table-actions.component.html | 3 +- .../table-actions.component.scss | 4 ++ .../table-actions.component.spec.ts | 47 +++++++++++++++++++ .../table-actions/table-actions.component.ts | 13 ++++- .../src/app/shared/models/cd-table-action.ts | 7 +++ 5 files changed, 72 insertions(+), 2 deletions(-) diff --git a/src/pybind/mgr/dashboard/frontend/src/app/shared/datatable/table-actions/table-actions.component.html b/src/pybind/mgr/dashboard/frontend/src/app/shared/datatable/table-actions/table-actions.component.html index 1e93b4aeceb..e0d6c209f92 100644 --- a/src/pybind/mgr/dashboard/frontend/src/app/shared/datatable/table-actions/table-actions.component.html +++ b/src/pybind/mgr/dashboard/frontend/src/app/shared/datatable/table-actions/table-actions.component.html @@ -24,7 +24,8 @@