[Mpuls-commits] r4049 - in base/trunk: . mpulsweb/templates/casemanagement/dialogs

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Wed Oct 27 19:07:15 CEST 2010


Author: bh
Date: 2010-10-27 19:07:13 +0200 (Wed, 27 Oct 2010)
New Revision: 4049

Modified:
   base/trunk/ChangeLog
   base/trunk/mpulsweb/templates/casemanagement/dialogs/confirm_export.mako
Log:
* mpulsweb/templates/casemanagement/dialogs/confirm_export.mako:
Allow user to select logbook for export if logbooks are enabled in
the application.


Modified: base/trunk/ChangeLog
===================================================================
--- base/trunk/ChangeLog	2010-10-27 17:01:06 UTC (rev 4048)
+++ base/trunk/ChangeLog	2010-10-27 17:07:13 UTC (rev 4049)
@@ -1,5 +1,11 @@
 2010-10-27  Bernhard Herzog  <bh at intevation.de>
 
+	* mpulsweb/templates/casemanagement/dialogs/confirm_export.mako:
+	Allow user to select logbook for export if logbooks are enabled in
+	the application.
+
+2010-10-27  Bernhard Herzog  <bh at intevation.de>
+
 	Main implementation of logbook import (mpuls/issue1314)
 
 	* mpulsweb/model/case.py (MPulsXMLImporter.__init__): New.  Pass

Modified: base/trunk/mpulsweb/templates/casemanagement/dialogs/confirm_export.mako
===================================================================
--- base/trunk/mpulsweb/templates/casemanagement/dialogs/confirm_export.mako	2010-10-27 17:01:06 UTC (rev 4048)
+++ base/trunk/mpulsweb/templates/casemanagement/dialogs/confirm_export.mako	2010-10-27 17:07:13 UTC (rev 4049)
@@ -31,6 +31,14 @@
 </li>
 % endfor
 </ul>
+% if g.mpuls_config.is_enabled('case-module', 'logbook'):
+<ul>
+  <li>
+    <input type="checkbox" name="exportselection" value="logbook" id="logbook">
+    <label for="logbook">Tagebuch</label>
+  </li>
+</ul>
+% endif
 
 <h3>Anonymisierung</h3>
 <p>



More information about the Mpuls-commits mailing list