Module: check_mk
Branch: master
Commit: a851f71701b7406e1210144fd8e2356bdeaf56ad
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=a851f71701b740…
Author: Mathias Kettner <mk(a)mathias-kettner.de>
Date: Wed May 9 10:38:39 2012 +0200
BI: make display format boxes available in all views
---
ChangeLog | 1 +
web/plugins/views/bi.py | 9 ++++++---
2 files changed, 7 insertions(+), 3 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index 79d7100..ce4084a 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -34,6 +34,7 @@
BI:
* FIX: make rotating folding arrows black (white was not visible)
+ * Display format 'boxes' now in all BI views available
1.2.0b3:
Core:
diff --git a/web/plugins/views/bi.py b/web/plugins/views/bi.py
index 1475d34..3b2c4a5 100644
--- a/web/plugins/views/bi.py
+++ b/web/plugins/views/bi.py
@@ -154,9 +154,10 @@ multisite_painter_options["aggr_treetype"] = {
"title" : _("Type of tree layout"),
"default" : "foldable",
"values" : [
- ("foldable", "foldable"),
- ("bottom-up", "bottom up"),
- ("top-down", "top down")]
+ ("foldable", _("foldable")),
+ ("boxes", _("boxes")),
+ ("bottom-up", _("bottom up")),
+ ("top-down", _("top down"))]
}
multisite_painter_options["aggr_wrap"] = {
@@ -437,6 +438,8 @@ def paint_aggregated_tree_state(row):
return paint_aggr_tree_ltr(row, False)
elif treetype == "top-down":
return paint_aggr_tree_ltr(row, True)
+ elif treetype == "boxes":
+ return paint_aggr_tree_boxes(row)
multisite_painters["aggr_treestate"] = {
"title" : _("Aggregation: complete tree"),