[Mpuls-commits] r2988 - in jmd/trunk: . jmdstrukturweb/lib jmdstrukturweb/templates/casemanagement
scm-commit@wald.intevation.org
scm-commit at wald.intevation.org
Thu Jun 10 16:08:23 CEST 2010
Author: bh
Date: 2010-06-10 16:08:21 +0200 (Thu, 10 Jun 2010)
New Revision: 2988
Modified:
jmd/trunk/ChangeLog
jmd/trunk/jmdstrukturweb/lib/validators.py
jmd/trunk/jmdstrukturweb/templates/casemanagement/new.mako
Log:
* jmdstrukturweb/templates/casemanagement/new.mako,
jmdstrukturweb/lib/validators.py (NewCaseForm): Correct field
names. The date fields end in "zeitraum", not in "erfassung".
Now the transfer of the values from the new case form to the
database works.
Modified: jmd/trunk/ChangeLog
===================================================================
--- jmd/trunk/ChangeLog 2010-06-10 13:45:33 UTC (rev 2987)
+++ jmd/trunk/ChangeLog 2010-06-10 14:08:21 UTC (rev 2988)
@@ -1,5 +1,13 @@
2010-06-10 Bernhard Herzog <bh at intevation.de>
+ * jmdstrukturweb/templates/casemanagement/new.mako,
+ jmdstrukturweb/lib/validators.py (NewCaseForm): Correct field
+ names. The date fields end in "zeitraum", not in "erfassung".
+ Now the transfer of the values from the new case form to the
+ database works.
+
+2010-06-10 Bernhard Herzog <bh at intevation.de>
+
* jmdweb/templates/jmdstruktur/permission.mako: Remove incorrect
items from buildNavipath.
Modified: jmd/trunk/jmdstrukturweb/lib/validators.py
===================================================================
--- jmd/trunk/jmdstrukturweb/lib/validators.py 2010-06-10 13:45:33 UTC (rev 2987)
+++ jmd/trunk/jmdstrukturweb/lib/validators.py 2010-06-10 14:08:21 UTC (rev 2988)
@@ -28,7 +28,7 @@
class NewCaseForm(BaseFormValidator):
- datum_begin_erfassung = String()
- datum_ende_erfassung = String()
+ datum_begin_zeitraum = String()
+ datum_ende_zeitraum = String()
# vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8
Modified: jmd/trunk/jmdstrukturweb/templates/casemanagement/new.mako
===================================================================
--- jmd/trunk/jmdstrukturweb/templates/casemanagement/new.mako 2010-06-10 13:45:33 UTC (rev 2987)
+++ jmd/trunk/jmdstrukturweb/templates/casemanagement/new.mako 2010-06-10 14:08:21 UTC (rev 2988)
@@ -18,21 +18,21 @@
<table>
<tr>
<td class="label">
- <label for="datum_begin_erfassung">Startdatum:</label>
+ <label for="datum_begin_zeitraum">Startdatum:</label>
</td>
<td>
<input class="field" type="text" size="50" maxlength="60"
- name="datum_begin_erfassung" id="datum_begin_erfassung"
+ name="datum_begin_zeitraum" id="datum_begin_zeitraum"
value="">
</td>
</tr>
<tr>
<td class="label">
- <label for="datum_ende_erfassung">Enddatum:</label>
+ <label for="datum_ende_zeitraum">Enddatum:</label>
</td>
<td>
<input class="field" type="text" size="50" maxlength="60"
- name="datum_ende_erfassung" id="datum_ende_erfassung"
+ name="datum_ende_zeitraum" id="datum_ende_zeitraum"
value="">
</td>
</tr>
More information about the Mpuls-commits
mailing list