Module: check_mk
Branch: master
Commit: fe8e667f9813fb2f5ad915862f575a5807a3059a
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=fe8e667f9813fb…
Author: Lars Michelsen <lm(a)mathias-kettner.de>
Date: Wed Feb 27 19:53:27 2019 +0100
Start moving view logic into dedicated object
The goal is to restructure the view processing logic classes
that separate the logic and make the whole view rendering
easier to understand.
First steps: Move logic from page_view() and show_view() to
the new View() class to be able to clean up some hacks related
to availability and SLA processing.
Change-Id: Ic1da2b56dd361cce33f1a02d867c2681d4a0f197
---
cmk/gui/views.py | 148 +++++++++++++++++++++------------------
tests/unit/cmk/gui/test_views.py | 37 +++++++---
2 files changed, 105 insertions(+), 80 deletions(-)
Diff:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commitdiff;h=fe8e667f98…