Module: check_mk
Branch: master
Commit: 48e3ccf0e2e2d074663dc97551eb23a2ca7463ab
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=48e3ccf0e2e2d0…
Author: Óscar Nájera <on(a)mathias-kettner.de>
Date: Thu Sep 27 18:24:09 2018 +0200
Refactor help
This poses a great amount of trouble, specially on the web interface.
Depending on context help is translated to help_ or help_txt
under request of many comments in source code it is even refactored to
title as it matches the html attribute title where it is used. Nevertheless
that changes gives quite many problems and maybe needs to be separated in a
different commit.
There is for the moment one API interface function `register_rule` in
watolib.py where the refactoring has not taken place, but is proposed to
skip the check on that function.
Change-Id: Iaf0f65e35a6ee441dcbb10169148a7e8cf5201ed
---
cmk/gui/availability.py | 12 +++----
cmk/gui/htmllib.py | 42 +++++++++-------------
cmk/gui/plugins/views/availability.py | 8 ++---
cmk/gui/plugins/views/icons/wato.py | 6 ++--
cmk/gui/plugins/views/painters.py | 10 +++---
cmk/gui/plugins/wato/utils/__init__.py | 12 +++----
cmk/gui/table.py | 16 ++++-----
cmk/gui/views.py | 10 +++---
cmk/gui/wato/__init__.py | 4 +--
cmk/gui/wato/pages/custom_attributes.py | 4 +--
cmk/gui/watolib.py | 30 ++++++++--------
omd/packages/omd/omd | 6 ++--
.../unit/cmk/gui/old/unittest_files/icon.unittest | 2 +-
.../gui/old/unittest_files/icon_button.unittest | 2 +-
.../gui/old/unittest_files/render_icon.unittest | 2 +-
.../old/unittest_files/render_icon_button.unittest | 2 +-
16 files changed, 80 insertions(+), 88 deletions(-)
Diff:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commitdiff;h=48e3ccf0e2…