]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mgr/dashboard: 'Logs' links permission in Landing Page 25231/head
authoralfonsomthd <almartin@redhat.com>
Mon, 3 Dec 2018 12:54:05 +0000 (13:54 +0100)
committeralfonsomthd <almartin@redhat.com>
Mon, 3 Dec 2018 12:54:05 +0000 (13:54 +0100)
commit11ca48830e6dd8949864e49ccadf15eb12a30ad8
tree5bdaa1354fe8d990da41496c7fef7fa25b6be976
parentb021f2cad5a97a25c7688af86d4bbfee2d3cee8f
mgr/dashboard: 'Logs' links permission in Landing Page

- 'Logs' links in Landing Page cards' popovers
for cards 'Cluster Status' (when not in HEALTH_OK) and
'PG Status' appear only when the user has
the appropriate permissions.
- Some refactor.
- Added test: ensure that clickable text (popover) is shown
when there are health checks' messages.

Fixes: https://tracker.ceph.com/issues/37371
Signed-off-by: Alfonso Martínez <almartin@redhat.com>
src/pybind/mgr/dashboard/frontend/src/app/ceph/dashboard/health/health.component.html
src/pybind/mgr/dashboard/frontend/src/app/ceph/dashboard/health/health.component.spec.ts
src/pybind/mgr/dashboard/frontend/src/app/ceph/dashboard/health/health.component.ts
src/pybind/mgr/dashboard/frontend/src/locale/messages.xlf