Module: check_mk
Branch: master
Commit: 4739e74eb7f1416556a3f70898aa1bdfd75b9f8d
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=4739e74eb7f141…
Author: Lars Michelsen <lm(a)mathias-kettner.de>
Date: Thu Sep 27 14:12:45 2018 +0200
6727 FIX Increased size of BI editor parameter input fields
Change-Id: Iea0df06bd27a4cc44b461d76dff49b21f47b0af0
---
.werks/6727 | 11 +++++++++++
cmk/gui/plugins/wato/bi.py | 6 +++---
2 files changed, 14 insertions(+), 3 deletions(-)
diff --git a/.werks/6727 b/.werks/6727
new file mode 100644
index 0000000..4528f23
--- /dev/null
+++ b/.werks/6727
@@ -0,0 +1,11 @@
+Title: Increased size of BI editor parameter input fields
+Level: 1
+Component: wato
+Class: fix
+Compatible: compat
+Edition: cre
+State: unknown
+Version: 1.6.0i1
+Date: 1538050346
+
+
diff --git a/cmk/gui/plugins/wato/bi.py b/cmk/gui/plugins/wato/bi.py
index bd997ab..ecec6cb 100644
--- a/cmk/gui/plugins/wato/bi.py
+++ b/cmk/gui/plugins/wato/bi.py
@@ -587,7 +587,7 @@ class ModeBI(WatoMode, BIManagement):
),
ListOfStrings(
orientation = "horizontal",
- size = 24,
+ size = 80,
title = _("Arguments:"),
),
],
@@ -2018,9 +2018,9 @@ class ModeBIEditRule(ModeBI):
"title of the rule as well as the host and service names,
you can insert the "
"actual value of the parameters by
<tt>$HOST$</tt> and <tt>$INST$</tt> "
"(enclosed in dollar signs)."),
- orientation = "horizontal",
+ orientation="horizontal",
valuespec = TextAscii(
- size = 24,
+ size = 80,
regex = '[A-Za-z_][A-Za-z0-9_]*',
regex_error = _("Parameters must contain only A-Z, a-z, 0-9 and
_ "
"and must not begin with a digit."),