Module: check_mk
Branch: master
Commit: 58098b041f674f15af8cd32089b9deacd7456bfa
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=58098b041f674f…
Author: Andreas Boesl <ab(a)mathias-kettner.de>
Date: Fri Nov 22 14:13:26 2013 +0100
rewrite text of werk 235
---
.werks/235 | 19 ++++++++++++++++++-
ChangeLog | 2 +-
2 files changed, 19 insertions(+), 2 deletions(-)
diff --git a/.werks/235 b/.werks/235
index 547cd21..56617ff 100644
--- a/.werks/235
+++ b/.werks/235
@@ -1,8 +1,25 @@
-Title: table headers are now omitted if all fields are empty and no table action is set
+Title: module table.py: table headers are omitted if all header fields are empty
Level: 1
Component: wato
Version: 1.2.3i7
Date: 1385120851
Class: feature
+Html tables rendered with the help of the table module always displayed the <th>
fields,
+even if none if this fields were filled. For example:
+C+:
+table.begin(searchable = False)
+# Firma
+table.row()
+table.cell("", "Company")
+table.cell("", "Yummifood")
+# Adresse
+table.row()
+table.cell("", "Address")
+table.cell("", "Yummistreet 7, 12345 Yummiville")
+table.end()
+C-:
+
+This created a table with empty headers.
+The new feature omits this headerline if it's not used otherwise, e.g. by a table
action.
diff --git a/ChangeLog b/ChangeLog
index 81fc4eb..4f88397 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -48,7 +48,7 @@
WATO:
* 0053 New rule for configuring the display_name of a service...
* 0216 Supporting float values as SNMP timeout value now...
- * 0235 table headers are now omitted if all fields are empty and no table action is
set
+ * 0235 module table.py: table headers are omitted if all header fields are empty...
* 0048 FIX: Tests on host diagnose page are executed parallel now...
* 0033 FIX: Fixed problem when saving settings in WATOs host diagnostic page...
* 0205 FIX: NagVis related permissions of roles can be edited again...