[Mpuls-commits] r6005 - in jmd/trunk/jmdweb: i18n i18n/de/LC_MESSAGES lib templates/casemanagement

scm-commit at wald.intevation.org scm-commit at wald.intevation.org
Wed Aug 1 14:28:06 CEST 2012


Author: ludwig
Date: 2012-08-01 14:28:06 +0200 (Wed, 01 Aug 2012)
New Revision: 6005

Modified:
   jmd/trunk/jmdweb/i18n/de/LC_MESSAGES/jmdweb.po
   jmd/trunk/jmdweb/i18n/jmdweb.pot
   jmd/trunk/jmdweb/lib/validators.py
   jmd/trunk/jmdweb/templates/casemanagement/new.mako
Log:
Add sync permission checkbox to the new case template.


Modified: jmd/trunk/jmdweb/i18n/de/LC_MESSAGES/jmdweb.po
===================================================================
--- jmd/trunk/jmdweb/i18n/de/LC_MESSAGES/jmdweb.po	2012-07-31 10:29:54 UTC (rev 6004)
+++ jmd/trunk/jmdweb/i18n/de/LC_MESSAGES/jmdweb.po	2012-08-01 12:28:06 UTC (rev 6005)
@@ -8,7 +8,7 @@
 "Project-Id-Version: PROJECT VERSION\n"
 "Report-Msgid-Bugs-To: EMAIL at ADDRESS\n"
 "POT-Creation-Date: 2010-11-02 14:28+0100\n"
-"PO-Revision-Date: 2012-04-16 15:10+0200\n"
+"PO-Revision-Date: 2012-08-01 14:10+0200\n"
 "Last-Translator: Ludwig Reiter <ludwig.reiter at intevation.de>\n"
 "Language-Team: de <LL at li.org>\n"
 "Plural-Forms: nplurals=2; plural=(n != 1)\n"
@@ -387,11 +387,29 @@
 "personenbezogener Daten wurde bereits zur Eingangsamnese bzw. Beratung "
 "vor dem Case Management eingeholt."
 
-#: jmdweb/templates/casemanagement/new.mako:115
+#: jmdweb/templates/casemanagement/new.mako:117
+msgid ""
+"Please notice, that the sync acceptence statement is the base for using "
+"the AiR case."
+msgstr ""
+"Die Einwilligungserklärung für das Synchronisieren der AiR Akte wurde "
+"bereits zur Eingangsamnese bzw. Beratung vor dem Case Management "
+"eingeholt."
+
+#: jmdweb/templates/casemanagement/new.mako:120
+msgid ""
+"The sync acceptence statement for using the AiR case has been obtained "
+"while the initial meeting."
+msgstr ""
+"Die Einwilligungserklärung für das Synchronisieren der AiR Akte wurde "
+"bereits zur Eingangsamnese bzw. Beratung vor dem Case Management "
+"eingeholt."
+
+#: jmdweb/templates/casemanagement/new.mako:125
 msgid "Print statement"
 msgstr "Erklärung drucken"
 
-#: jmdweb/templates/casemanagement/new.mako:116
+#: jmdweb/templates/casemanagement/new.mako:126
 msgid "Create case document"
 msgstr "Fallakte anlegen"
 
@@ -564,7 +582,19 @@
 "contain any personal data such as name or addresses."
 msgstr ""
 
-#: jmdweb/templates/settings/edit.mako:114
+#: jmdweb/templates/settings/edit.mako:115
+msgid "Edit meta user settings"
+msgstr ""
+
+#: jmdweb/templates/settings/edit.mako:118
+msgid "Meta user name"
+msgstr ""
+
+#: jmdweb/templates/settings/edit.mako:124
+msgid "Meta user password"
+msgstr ""
+
+#: jmdweb/templates/settings/edit.mako:131
 msgid "Save settings"
 msgstr ""
 

Modified: jmd/trunk/jmdweb/i18n/jmdweb.pot
===================================================================
--- jmd/trunk/jmdweb/i18n/jmdweb.pot	2012-07-31 10:29:54 UTC (rev 6004)
+++ jmd/trunk/jmdweb/i18n/jmdweb.pot	2012-08-01 12:28:06 UTC (rev 6005)
@@ -8,7 +8,7 @@
 msgstr ""
 "Project-Id-Version: jmdweb 2.0.0-pre\n"
 "Report-Msgid-Bugs-To: EMAIL at ADDRESS\n"
-"POT-Creation-Date: 2012-04-16 15:09+0200\n"
+"POT-Creation-Date: 2012-08-01 14:07+0200\n"
 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
 "Last-Translator: FULL NAME <EMAIL at ADDRESS>\n"
 "Language-Team: LANGUAGE <LL at li.org>\n"
@@ -371,11 +371,23 @@
 "been obtained while initial meeting."
 msgstr ""
 
-#: jmdweb/templates/casemanagement/new.mako:115
+#: jmdweb/templates/casemanagement/new.mako:117
+msgid ""
+"Please notice, that the sync acceptence statement is the base for using the "
+"AiR case."
+msgstr ""
+
+#: jmdweb/templates/casemanagement/new.mako:120
+msgid ""
+"The sync acceptence statement for using the AiR case has been obtained while "
+"the initial meeting."
+msgstr ""
+
+#: jmdweb/templates/casemanagement/new.mako:125
 msgid "Print statement"
 msgstr ""
 
-#: jmdweb/templates/casemanagement/new.mako:116
+#: jmdweb/templates/casemanagement/new.mako:126
 msgid "Create case document"
 msgstr ""
 
@@ -544,7 +556,19 @@
 "data such as name or addresses."
 msgstr ""
 
-#: jmdweb/templates/settings/edit.mako:114
+#: jmdweb/templates/settings/edit.mako:115
+msgid "Edit meta user settings"
+msgstr ""
+
+#: jmdweb/templates/settings/edit.mako:118
+msgid "Meta user name"
+msgstr ""
+
+#: jmdweb/templates/settings/edit.mako:124
+msgid "Meta user password"
+msgstr ""
+
+#: jmdweb/templates/settings/edit.mako:131
 msgid "Save settings"
 msgstr ""
 

Modified: jmd/trunk/jmdweb/lib/validators.py
===================================================================
--- jmd/trunk/jmdweb/lib/validators.py	2012-07-31 10:29:54 UTC (rev 6004)
+++ jmd/trunk/jmdweb/lib/validators.py	2012-08-01 12:28:06 UTC (rev 6005)
@@ -36,6 +36,7 @@
     adresse_ort = String()
     adresse_plz = String()
     statement_signed = Bool(if_missing=False)
+    sync_permission =  Bool(if_missing=False)
 
 
 class PermissionForm(BaseFormValidator):

Modified: jmd/trunk/jmdweb/templates/casemanagement/new.mako
===================================================================
--- jmd/trunk/jmdweb/templates/casemanagement/new.mako	2012-07-31 10:29:54 UTC (rev 6004)
+++ jmd/trunk/jmdweb/templates/casemanagement/new.mako	2012-08-01 12:28:06 UTC (rev 6005)
@@ -111,6 +111,16 @@
     <div class="waska_form_element w100">
       <input type="checkbox" id="statement_signed" name="statement_signed"><label for="statement_signed">${_('The acceptence statement for entering, using and editing personal data has been obtained while initial meeting.')}</label>
     </div>
+    
+    % if g.mpuls_config.is_enabled('case-module', 'meta-server'):
+    <div style="padding: 1em 0;">
+	<p>${_('Please notice, that the sync acceptence statement is the base for using the AiR case.')}</p>
+    </div>
+    <div class="waska_form_element w100">
+    	<input type="checkbox" id="sync_permission" name="sync_permission"><label for="sync_permisson">${_('The sync acceptence statement for using the AiR case has been obtained while the initial meeting.')}</label>
+    </div>
+    % endif
+
     <div class="input_space">
       <input type="submit" value="${_('Print statement')}" name="print" id="newCaseStatement">
       <input type="submit" value="${_('Create case document')}" name="save" id="newCaseSave">



More information about the Mpuls-commits mailing list