[Mpuls-commits] r1877 - in wasko/branches/2.0: . mpulsweb/lib
scm-commit@wald.intevation.org
scm-commit at wald.intevation.org
Mon Mar 1 15:11:18 CET 2010
Author: bh
Date: 2010-03-01 15:11:13 +0100 (Mon, 01 Mar 2010)
New Revision: 1877
Modified:
wasko/branches/2.0/ChangeLog
wasko/branches/2.0/mpulsweb/lib/config.py
Log:
* mpulsweb/lib/config.py (MpulsConfig.build_defaults): Add default
for repeat group digest configuration.
Modified: wasko/branches/2.0/ChangeLog
===================================================================
--- wasko/branches/2.0/ChangeLog 2010-03-01 13:55:37 UTC (rev 1876)
+++ wasko/branches/2.0/ChangeLog 2010-03-01 14:11:13 UTC (rev 1877)
@@ -1,5 +1,10 @@
2010-03-01 Bernhard Herzog <bh at intevation.de>
+ * mpulsweb/lib/config.py (MpulsConfig.build_defaults): Add default
+ for repeat group digest configuration.
+
+2010-03-01 Bernhard Herzog <bh at intevation.de>
+
* mpulsweb/lib/renderer.py (RepeatGroupRenderer.render_digest):
Remove unused variable rgdigests
Modified: wasko/branches/2.0/mpulsweb/lib/config.py
===================================================================
--- wasko/branches/2.0/mpulsweb/lib/config.py 2010-03-01 13:55:37 UTC (rev 1876)
+++ wasko/branches/2.0/mpulsweb/lib/config.py 2010-03-01 14:11:13 UTC (rev 1877)
@@ -184,6 +184,21 @@
"alias":"editor", "alias_force_string":False}
])
+ # Rendering of repeated formed pages
+ #
+ # Some repeat groups define entire repeated formed pages. These
+ # are rendered initially as a list of groups with only a few of
+ # the fields of the individual pages and buttons to view/edit
+ # the details of each instance or to delete an instance. This
+ # setting describes which fields of an instance to show in the
+ # overview list.
+ #
+ # The value is a dictionary mapping repeat group names to the
+ # field names. The field names must be fields inside the repeat
+ # group instance but not inside a repeat group within the repeat
+ # group.
+ set("renderer", "rg_digests", unmergeable_dict())
+
# PHASES
# --------
# Available Phases:
More information about the Mpuls-commits
mailing list