Module: check_mk
Branch: master
Commit: f0beee3f5ad2c436a7ae5a078104ddbd8741c4e0
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=f0beee3f5ad2c4…
Author: Lars Michelsen <lm(a)mathias-kettner.de>
Date: Wed Jan 9 08:55:41 2019 +0100
Refactored internal icons and actions registry to plugin registry
* Transforming the previous multisite_icons_and_actions dict based
icon plugins to the new format for compatibility. This will be
kept for at least one stable version.
CMK-1514
Change-Id: Idca55a739380a394d1816153bc31edc856401d35
---
cmk/gui/plugins/views/icons/__init__.py | 53 +++++------
cmk/gui/plugins/views/icons/builtin.py | 5 +-
cmk/gui/plugins/views/icons/utils.py | 116 +++++++++++++++++++++++++
cmk/gui/plugins/wato/check_mk_configuration.py | 4 +-
cmk/gui/views.py | 25 ++++++
tests/unit/cmk/gui/plugins/views/test_icons.py | 40 +++++++++
6 files changed, 214 insertions(+), 29 deletions(-)
Diff:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commitdiff;h=f0beee3f5a…