Module: check_mk
Branch: master
Commit: 718b7ecf23570a2c16b2b231570352431d0852f9
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=718b7ecf23570a…
Author: Lars Michelsen <lm(a)mathias-kettner.de>
Date: Fri Dec 19 08:29:51 2014 +0100
#1776 Dashboard: Allowing unicode characters in static text dashlet
---
.werks/1776 | 10 ++++++++++
ChangeLog | 3 ++-
web/plugins/dashboard/dashlets.py | 2 +-
3 files changed, 13 insertions(+), 2 deletions(-)
diff --git a/.werks/1776 b/.werks/1776
new file mode 100644
index 0000000..e97e668
--- /dev/null
+++ b/.werks/1776
@@ -0,0 +1,10 @@
+Title: Dashboard: Allowing unicode characters in static text dashlet
+Level: 1
+Component: multisite
+Class: feature
+Compatible: compat
+State: unknown
+Version: 1.2.7i1
+Date: 1418974157
+
+
diff --git a/ChangeLog b/ChangeLog
index d68dd15..13a677e 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -10,13 +10,13 @@
* 1207 services: Check can now be configured with additional names for matching...
* 1786 casa_cpu_mem, casa_cpu_temp, casa_cpu_util, casa_fan, casa_power: support more
devices, also C100G
* 1787 docsis_channels_upstream, docsis_channels_downstream: now also support CASA
100G
- * 1459 netscaler_cpu: new check to monitor the CPUs of Citrix Netscaler Appliances
* 1519 etherbox.temp: Now supports lower levels, output configurable to Celsius,
Fahrenheit or Kelvin...
NOTE: Please refer to the migration notes!
* 1520 hwg_temp: Now uses new temperature ruleset, allows lower levels and alternate
output units....
NOTE: Please refer to the migration notes!
* 1521 carel_sensors: Now uses new Temperature WATO-Rule...
NOTE: Please refer to the migration notes!
+ * 1459 netscaler_cpu: new check to monitor the CPUs of Citrix Netscaler Appliances
* 1457 FIX: logins: new check renamed from "users" check...
NOTE: Please refer to the migration notes!
* 1762 FIX: lnx_thermal: Now ignoring trip points with level 0...
@@ -39,6 +39,7 @@
Multisite:
* 1758 Improved exception hander: Shows details without additional debug request,
added mailto link for error report...
* 1788 New personal setting for start page, right after login...
+ * 1776 Dashboard: Allowing unicode characters in static text dashlet
* 1781 FIX: Fix broken grouping by host/service group in availability
* 1783 FIX: Finish the view "History of Scheduled Downtimes"...
* 1206 FIX: Hostname not longer shown as column in host views
diff --git a/web/plugins/dashboard/dashlets.py b/web/plugins/dashboard/dashlets.py
index 7e8e03c..367fb36 100644
--- a/web/plugins/dashboard/dashlets.py
+++ b/web/plugins/dashboard/dashlets.py
@@ -491,7 +491,7 @@ dashlet_types["nodata"] = {
"render" : dashlet_nodata,
"allowed" : config.builtin_role_ids,
"parameters" : [
- ("text", TextAscii(
+ ("text", TextUnicode(
title = _('Text'),
size = 50,
)),