[Mpuls-commits] r4277 - in base/trunk: . mpulsweb/i18n mpulsweb/i18n/de/LC_MESSAGES mpulsweb/templates/phase/dialogs

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Tue Nov 30 17:06:18 CET 2010


Author: torsten
Date: 2010-11-30 17:06:16 +0100 (Tue, 30 Nov 2010)
New Revision: 4277

Modified:
   base/trunk/ChangeLog
   base/trunk/mpulsweb/i18n/de/LC_MESSAGES/mpulsweb.po
   base/trunk/mpulsweb/i18n/mpulsweb.pot
   base/trunk/mpulsweb/templates/phase/dialogs/success_fullautomatic_set_phase.mako
   base/trunk/mpulsweb/templates/phase/dialogs/success_halfautomatic_set_phase.mako
Log:
Issue930. Added info to print out the case in dialogs for automatic phasechange.


Modified: base/trunk/ChangeLog
===================================================================
--- base/trunk/ChangeLog	2010-11-30 14:57:16 UTC (rev 4276)
+++ base/trunk/ChangeLog	2010-11-30 16:06:16 UTC (rev 4277)
@@ -2,6 +2,12 @@
 
 	* mpulsweb/lib/translation.py (_ungettext): Issue1416: Fixed
 	translation function for "ungettext".
+	* mpulsweb/i18n/mpulsweb.pot,
+	mpulsweb/i18n/de/LC_MESSAGES/mpulsweb.po,
+	mpulsweb/templates/phase/dialogs/success_fullautomatic_set_phase.mako,
+	mpulsweb/templates/phase/dialogs/success_halfautomatic_set_phase.mako:
+	Issue930. Added info to print out the case in dialogs for automatic
+	phasechange.
 
 2010-11-26  Bernhard Herzog  <bh at intevation.de>
 

Modified: base/trunk/mpulsweb/i18n/de/LC_MESSAGES/mpulsweb.po
===================================================================
--- base/trunk/mpulsweb/i18n/de/LC_MESSAGES/mpulsweb.po	2010-11-30 14:57:16 UTC (rev 4276)
+++ base/trunk/mpulsweb/i18n/de/LC_MESSAGES/mpulsweb.po	2010-11-30 16:06:16 UTC (rev 4277)
@@ -8,7 +8,7 @@
 "Project-Id-Version: mpulsweb 0.0.0\n"
 "Report-Msgid-Bugs-To: EMAIL at ADDRESS\n"
 "POT-Creation-Date: 2009-10-08 09:54+0200\n"
-"PO-Revision-Date: 2010-11-19 20:25+0100\n"
+"PO-Revision-Date: 2010-11-30 17:05+0100\n"
 "Last-Translator: Torsten Irländer <torsten.irlaender at intevation.de>\n"
 "Language-Team: de <LL at li.org>\n"
 "Plural-Forms: nplurals=2; plural=(n != 1)\n"
@@ -192,6 +192,8 @@
 msgstr "Keine Hilfe verfügbar"
 
 #: mpulsweb/controllers/annotations.py:36
+#: mpulsweb/templates/phase/dialogs/success_fullautomatic_set_phase.mako:16
+#: mpulsweb/templates/phase/dialogs/success_halfautomatic_set_phase.mako:14
 msgid "Help"
 msgstr "Hilfe"
 
@@ -323,14 +325,14 @@
 "Bei dem Import ist ein Fehler aufgetreten. Klicken Sie auf \"OK\", um zu "
 "dem Importdialog zurückzukehren."
 
-#: mpulsweb/controllers/case.py:213 mpulsweb/model/case.py:1302
+#: mpulsweb/controllers/case.py:213 mpulsweb/model/case.py:1301
 #: mpulsweb/model/phase.py:299
 #: mpulsweb/templates/casemanagement/caselist.mako:139
 #: mpulsweb/templates/phase/phase.mako:51
 msgid "Running"
 msgstr "Laufend"
 
-#: mpulsweb/controllers/case.py:215 mpulsweb/model/case.py:1304
+#: mpulsweb/controllers/case.py:215 mpulsweb/model/case.py:1303
 #: mpulsweb/model/phase.py:301
 #: mpulsweb/templates/casemanagement/caselist.mako:142
 #: mpulsweb/templates/phase/phase.mako:53
@@ -929,82 +931,82 @@
 msgid "Open page"
 msgstr "Öffne Seite"
 
-#: mpulsweb/lib/renderer.py:205 mpulsweb/lib/renderer.py:229
+#: mpulsweb/lib/renderer.py:204 mpulsweb/lib/renderer.py:228
 msgid "Save"
 msgstr "Speichern"
 
-#: mpulsweb/lib/renderer.py:211 mpulsweb/lib/renderer.py:235
+#: mpulsweb/lib/renderer.py:210 mpulsweb/lib/renderer.py:234
 msgid "Save and proceed"
 msgstr "Speichern und Weiter"
 
-#: mpulsweb/lib/renderer.py:426
+#: mpulsweb/lib/renderer.py:425
 msgid "Delete RG"
 msgstr "Eintrag löschen"
 
-#: mpulsweb/lib/renderer.py:443 mpulsweb/lib/renderer.py:1084
-#: mpulsweb/lib/renderer.py:1085
+#: mpulsweb/lib/renderer.py:442 mpulsweb/lib/renderer.py:1088
+#: mpulsweb/lib/renderer.py:1089
 msgid "Add new RG"
 msgstr "Neuen Eintrag hinzufügen"
 
-#: mpulsweb/lib/renderer.py:462
+#: mpulsweb/lib/renderer.py:461
 msgid "Select first"
 msgstr "Wähle Erstes"
 
-#: mpulsweb/lib/renderer.py:468
+#: mpulsweb/lib/renderer.py:467
 msgid "Select previous"
 msgstr "Wähle Vorheriges"
 
-#: mpulsweb/lib/renderer.py:474
+#: mpulsweb/lib/renderer.py:473
 msgid "Select next"
 msgstr "Wähle Nächstes"
 
-#: mpulsweb/lib/renderer.py:480
+#: mpulsweb/lib/renderer.py:479
 msgid "Select last"
 msgstr "Wähle Letztes"
 
-#: mpulsweb/lib/renderer.py:489
+#: mpulsweb/lib/renderer.py:488
 msgid "Create new"
 msgstr "Erstelle neu"
 
-#: mpulsweb/lib/renderer.py:495
+#: mpulsweb/lib/renderer.py:494
 msgid "Delete"
 msgstr "Löschen"
 
-#: mpulsweb/lib/renderer.py:1007 mpulsweb/templates/evaluation/evaluate.mako:30
+#: mpulsweb/lib/renderer.py:1011 mpulsweb/templates/evaluation/evaluate.mako:30
 msgid "Description"
 msgstr "Beschreibung"
 
-#: mpulsweb/lib/renderer.py:1008 mpulsweb/templates/phase/phase.mako:28
+#: mpulsweb/lib/renderer.py:1012 mpulsweb/templates/phase/phase.mako:28
 msgid "Actions"
 msgstr "Aktionen"
 
-#: mpulsweb/lib/renderer.py:1057
+#: mpulsweb/lib/renderer.py:1061
 msgid "view"
 msgstr "Ansehen"
 
-#: mpulsweb/lib/renderer.py:1066
+#: mpulsweb/lib/renderer.py:1070
 msgid "delete"
 msgstr "löschen"
 
-#: mpulsweb/lib/renderer.py:1096
+#: mpulsweb/lib/renderer.py:1100
 msgid "Item found"
 msgid_plural "Items found"
 msgstr[0] "Eintrag gefunden"
 msgstr[1] "Einträge gefunden"
 
-#: mpulsweb/lib/renderer.py:1133
+#: mpulsweb/lib/renderer.py:1137
 msgid "Formular errors"
 msgstr "Fehlerhafte Formulareingabe"
 
-#: mpulsweb/lib/renderer.py:1135
+#: mpulsweb/lib/renderer.py:1139
 msgid "Formular notices"
 msgstr "Formular Hinweise"
 
-#: mpulsweb/lib/renderer.py:1139
+#: mpulsweb/lib/renderer.py:1143
 msgid "Formular warnings"
 msgstr "Formular Warnungen"
 
-#: mpulsweb/lib/renderer.py:1173
+#: mpulsweb/lib/renderer.py:1177
 msgid "Restore last valid value"
 msgstr "Stelle letzten gültigen Wert wieder her"
 
@@ -1030,37 +1032,37 @@
 msgid "< 1 week"
 msgstr "< 1 Woche"
 
-#: mpulsweb/model/case.py:1254 mpulsweb/model/case.py:1255
+#: mpulsweb/model/case.py:1253 mpulsweb/model/case.py:1254
 #: mpulsweb/templates/casemanagement/caselist.mako:168
 #: mpulsweb/templates/casemanagement/caselist.mako:169
 msgid "case_state_label_open"
 msgstr "Bearbeitbar"
 
-#: mpulsweb/model/case.py:1256
+#: mpulsweb/model/case.py:1255
 msgid "case_state_label_outstanding_delete"
 msgstr "Schwebend gelöscht"
 
-#: mpulsweb/model/case.py:1257
+#: mpulsweb/model/case.py:1256
 msgid "case_state_label_outstanding_anon"
 msgstr "Schwebend anonymisiert"
 
-#: mpulsweb/model/case.py:1258
+#: mpulsweb/model/case.py:1257
 msgid "case_state_label_anon"
 msgstr "Anonymisiert"
 
-#: mpulsweb/model/case.py:1387
+#: mpulsweb/model/case.py:1386
 #, python-format
 msgid "The case with UUID '%s' could not be imported due to rule violations"
 msgstr ""
 "Der Fall mit der UUID '%s' konnte wegen Regelverletzungen nicht "
 "importiert werden."
 
-#: mpulsweb/model/case.py:1416
+#: mpulsweb/model/case.py:1415
 #, python-format
 msgid "The case with UUID '%s' was anonymized already."
 msgstr "Der Fall mit der UUID '%s' wurde bereits anonymisiert."
 
-#: mpulsweb/model/case.py:1419
+#: mpulsweb/model/case.py:1418
 #, python-format
 msgid ""
 "The case with UUID '%s' is either marked for anonymization or marked for "
@@ -1069,7 +1071,7 @@
 "Der Fall mit der UUID '%s' ist entweder schwebend anonymisiert oder "
 "schwebend gelöscht."
 
-#: mpulsweb/model/case.py:1451
+#: mpulsweb/model/case.py:1450
 #, python-format
 msgid "The XML file has the version '%s', but supported is only version '%s'"
 msgstr ""
@@ -2008,7 +2010,7 @@
 #: mpulsweb/templates/casemanagement/dialogs/success_keepactive.mako:5
 #: mpulsweb/templates/casemanagement/dialogs/success_restore.mako:5
 #: mpulsweb/templates/phase/phase.mako:5
-#: mpulsweb/templates/phase/dialogs/success_fullautomatic_set_phase.mako:5
+#: mpulsweb/templates/phase/dialogs/success_fullautomatic_set_phase.mako:6
 #: mpulsweb/templates/privacy/dialogs/missing_statement.mako:5
 msgid "cm_np_root"
 msgstr "Case Management"
@@ -2327,7 +2329,7 @@
 #: mpulsweb/templates/casemanagement/main.mako:101
 #: mpulsweb/templates/casemanagement/main.mako:204
 #: mpulsweb/templates/phase/phase.mako:7 mpulsweb/templates/phase/phase.mako:14
-#: mpulsweb/templates/phase/dialogs/success_fullautomatic_set_phase.mako:6
+#: mpulsweb/templates/phase/dialogs/success_fullautomatic_set_phase.mako:7
 #: mpulsweb/templates/phase/dialogs/success_halfautomatic_set_phase.mako:7
 #: mpulsweb/templates/phase/dialogs/success_set_phase.mako:7
 msgid "case_cm_phase"
@@ -2588,6 +2590,7 @@
 
 #: mpulsweb/templates/dialogs/failed.mako:6
 #: mpulsweb/templates/dialogs/success.mako:8
+#: mpulsweb/templates/phase/dialogs/success_fullautomatic_set_phase.mako:20
 msgid "dialog_header_confirm_option_ok"
 msgstr "OK"
 
@@ -2869,6 +2872,17 @@
 msgid "Duration of phases"
 msgstr "Dauer der Phasen"
 
+#: mpulsweb/templates/phase/dialogs/success_fullautomatic_set_phase.mako:16
+#: mpulsweb/templates/phase/dialogs/success_halfautomatic_set_phase.mako:14
+#, python-format
+msgid ""
+"Please consider, that the case should be given to the client in printed "
+"form after changing the phase. More information can be under %s"
+msgstr ""
+"Beachten Sie, dass bei einem Phasenwechsel die Fallakte in ausgedruckter "
+"Form dem jungen Menschen ausgehändigt werden sollte. Weitere "
+"Informationen dazu finden Sie in der %s"
+
 #: mpulsweb/templates/privacy/edit_statement.mako:6
 #: mpulsweb/templates/privacy/dialogs/accept_success.mako:6
 #: mpulsweb/templates/privacy/dialogs/confirm.mako:6

Modified: base/trunk/mpulsweb/i18n/mpulsweb.pot
===================================================================
--- base/trunk/mpulsweb/i18n/mpulsweb.pot	2010-11-30 14:57:16 UTC (rev 4276)
+++ base/trunk/mpulsweb/i18n/mpulsweb.pot	2010-11-30 16:06:16 UTC (rev 4277)
@@ -8,7 +8,7 @@
 msgstr ""
 "Project-Id-Version: mpulsweb 2.0.0-pre\n"
 "Report-Msgid-Bugs-To: EMAIL at ADDRESS\n"
-"POT-Creation-Date: 2010-11-19 20:19+0100\n"
+"POT-Creation-Date: 2010-11-30 17:05+0100\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"
@@ -151,6 +151,8 @@
 msgstr ""
 
 #: mpulsweb/controllers/annotations.py:36
+#: mpulsweb/templates/phase/dialogs/success_fullautomatic_set_phase.mako:16
+#: mpulsweb/templates/phase/dialogs/success_halfautomatic_set_phase.mako:14
 msgid "Help"
 msgstr ""
 
@@ -262,13 +264,13 @@
 "Click 'OK' to return to the import dialog."
 msgstr ""
 
-#: mpulsweb/controllers/case.py:213 mpulsweb/model/case.py:1302
+#: mpulsweb/controllers/case.py:213 mpulsweb/model/case.py:1301
 #: mpulsweb/model/phase.py:299 mpulsweb/templates/casemanagement/caselist.mako:139
 #: mpulsweb/templates/phase/phase.mako:51
 msgid "Running"
 msgstr ""
 
-#: mpulsweb/controllers/case.py:215 mpulsweb/model/case.py:1304
+#: mpulsweb/controllers/case.py:215 mpulsweb/model/case.py:1303
 #: mpulsweb/model/phase.py:301 mpulsweb/templates/casemanagement/caselist.mako:142
 #: mpulsweb/templates/phase/phase.mako:53 mpulsweb/templates/phase/phase.mako:55
 msgid "Finished"
@@ -772,82 +774,82 @@
 msgid "Open page"
 msgstr ""
 
-#: mpulsweb/lib/renderer.py:205 mpulsweb/lib/renderer.py:229
+#: mpulsweb/lib/renderer.py:204 mpulsweb/lib/renderer.py:228
 msgid "Save"
 msgstr ""
 
-#: mpulsweb/lib/renderer.py:211 mpulsweb/lib/renderer.py:235
+#: mpulsweb/lib/renderer.py:210 mpulsweb/lib/renderer.py:234
 msgid "Save and proceed"
 msgstr ""
 
-#: mpulsweb/lib/renderer.py:426
+#: mpulsweb/lib/renderer.py:425
 msgid "Delete RG"
 msgstr ""
 
-#: mpulsweb/lib/renderer.py:443 mpulsweb/lib/renderer.py:1084
-#: mpulsweb/lib/renderer.py:1085
+#: mpulsweb/lib/renderer.py:442 mpulsweb/lib/renderer.py:1088
+#: mpulsweb/lib/renderer.py:1089
 msgid "Add new RG"
 msgstr ""
 
-#: mpulsweb/lib/renderer.py:462
+#: mpulsweb/lib/renderer.py:461
 msgid "Select first"
 msgstr ""
 
-#: mpulsweb/lib/renderer.py:468
+#: mpulsweb/lib/renderer.py:467
 msgid "Select previous"
 msgstr ""
 
-#: mpulsweb/lib/renderer.py:474
+#: mpulsweb/lib/renderer.py:473
 msgid "Select next"
 msgstr ""
 
-#: mpulsweb/lib/renderer.py:480
+#: mpulsweb/lib/renderer.py:479
 msgid "Select last"
 msgstr ""
 
-#: mpulsweb/lib/renderer.py:489
+#: mpulsweb/lib/renderer.py:488
 msgid "Create new"
 msgstr ""
 
-#: mpulsweb/lib/renderer.py:495
+#: mpulsweb/lib/renderer.py:494
 msgid "Delete"
 msgstr ""
 
-#: mpulsweb/lib/renderer.py:1007 mpulsweb/templates/evaluation/evaluate.mako:30
+#: mpulsweb/lib/renderer.py:1011 mpulsweb/templates/evaluation/evaluate.mako:30
 msgid "Description"
 msgstr ""
 
-#: mpulsweb/lib/renderer.py:1008 mpulsweb/templates/phase/phase.mako:28
+#: mpulsweb/lib/renderer.py:1012 mpulsweb/templates/phase/phase.mako:28
 msgid "Actions"
 msgstr ""
 
-#: mpulsweb/lib/renderer.py:1057
+#: mpulsweb/lib/renderer.py:1061
 msgid "view"
 msgstr ""
 
-#: mpulsweb/lib/renderer.py:1066
+#: mpulsweb/lib/renderer.py:1070
 msgid "delete"
 msgstr ""
 
-#: mpulsweb/lib/renderer.py:1096
+#: mpulsweb/lib/renderer.py:1100
 msgid "Item found"
 msgid_plural "Items found"
 msgstr[0] ""
 msgstr[1] ""
 
-#: mpulsweb/lib/renderer.py:1133
+#: mpulsweb/lib/renderer.py:1137
 msgid "Formular errors"
 msgstr ""
 
-#: mpulsweb/lib/renderer.py:1135
+#: mpulsweb/lib/renderer.py:1139
 msgid "Formular notices"
 msgstr ""
 
-#: mpulsweb/lib/renderer.py:1139
+#: mpulsweb/lib/renderer.py:1143
 msgid "Formular warnings"
 msgstr ""
 
-#: mpulsweb/lib/renderer.py:1173
+#: mpulsweb/lib/renderer.py:1177
 msgid "Restore last valid value"
 msgstr ""
 
@@ -873,42 +875,42 @@
 msgid "< 1 week"
 msgstr ""
 
-#: mpulsweb/model/case.py:1254 mpulsweb/model/case.py:1255
+#: mpulsweb/model/case.py:1253 mpulsweb/model/case.py:1254
 #: mpulsweb/templates/casemanagement/caselist.mako:168
 #: mpulsweb/templates/casemanagement/caselist.mako:169
 msgid "case_state_label_open"
 msgstr ""
 
-#: mpulsweb/model/case.py:1256
+#: mpulsweb/model/case.py:1255
 msgid "case_state_label_outstanding_delete"
 msgstr ""
 
-#: mpulsweb/model/case.py:1257
+#: mpulsweb/model/case.py:1256
 msgid "case_state_label_outstanding_anon"
 msgstr ""
 
-#: mpulsweb/model/case.py:1258
+#: mpulsweb/model/case.py:1257
 msgid "case_state_label_anon"
 msgstr ""
 
-#: mpulsweb/model/case.py:1387
+#: mpulsweb/model/case.py:1386
 #, python-format
 msgid "The case with UUID '%s' could not be imported due to rule violations"
 msgstr ""
 
-#: mpulsweb/model/case.py:1416
+#: mpulsweb/model/case.py:1415
 #, python-format
 msgid "The case with UUID '%s' was anonymized already."
 msgstr ""
 
-#: mpulsweb/model/case.py:1419
+#: mpulsweb/model/case.py:1418
 #, python-format
 msgid ""
 "The case with UUID '%s' is either marked for anonymization or marked for "
 "deletion."
 msgstr ""
 
-#: mpulsweb/model/case.py:1451
+#: mpulsweb/model/case.py:1450
 #, python-format
 msgid "The XML file has the version '%s', but supported is only version '%s'"
 msgstr ""
@@ -1827,7 +1829,7 @@
 #: mpulsweb/templates/casemanagement/dialogs/success_keepactive.mako:5
 #: mpulsweb/templates/casemanagement/dialogs/success_restore.mako:5
 #: mpulsweb/templates/phase/phase.mako:5
-#: mpulsweb/templates/phase/dialogs/success_fullautomatic_set_phase.mako:5
+#: mpulsweb/templates/phase/dialogs/success_fullautomatic_set_phase.mako:6
 #: mpulsweb/templates/privacy/dialogs/missing_statement.mako:5
 msgid "cm_np_root"
 msgstr ""
@@ -2145,7 +2147,7 @@
 #: mpulsweb/templates/casemanagement/main.mako:101
 #: mpulsweb/templates/casemanagement/main.mako:204
 #: mpulsweb/templates/phase/phase.mako:7 mpulsweb/templates/phase/phase.mako:14
-#: mpulsweb/templates/phase/dialogs/success_fullautomatic_set_phase.mako:6
+#: mpulsweb/templates/phase/dialogs/success_fullautomatic_set_phase.mako:7
 #: mpulsweb/templates/phase/dialogs/success_halfautomatic_set_phase.mako:7
 #: mpulsweb/templates/phase/dialogs/success_set_phase.mako:7
 msgid "case_cm_phase"
@@ -2395,6 +2397,7 @@
 
 #: mpulsweb/templates/dialogs/failed.mako:6
 #: mpulsweb/templates/dialogs/success.mako:8
+#: mpulsweb/templates/phase/dialogs/success_fullautomatic_set_phase.mako:20
 msgid "dialog_header_confirm_option_ok"
 msgstr ""
 
@@ -2673,6 +2676,14 @@
 msgid "Duration of phases"
 msgstr ""
 
+#: mpulsweb/templates/phase/dialogs/success_fullautomatic_set_phase.mako:16
+#: mpulsweb/templates/phase/dialogs/success_halfautomatic_set_phase.mako:14
+#, python-format
+msgid ""
+"Please consider, that the case should be given to the client in printed form "
+"after changing the phase. More information can be under %s"
+msgstr ""
+
 #: mpulsweb/templates/privacy/edit_statement.mako:6
 #: mpulsweb/templates/privacy/dialogs/accept_success.mako:6
 #: mpulsweb/templates/privacy/dialogs/confirm.mako:6

Modified: base/trunk/mpulsweb/templates/phase/dialogs/success_fullautomatic_set_phase.mako
===================================================================
--- base/trunk/mpulsweb/templates/phase/dialogs/success_fullautomatic_set_phase.mako	2010-11-30 14:57:16 UTC (rev 4276)
+++ base/trunk/mpulsweb/templates/phase/dialogs/success_fullautomatic_set_phase.mako	2010-11-30 16:06:16 UTC (rev 4277)
@@ -1,8 +1,22 @@
 ## -*- coding: utf-8 -*- 
+<%!  import mpulsweb.lib.helper.filters as F %>
 <%inherit file="/main.mako" />
 <%def name="buildNavipath()">
 	${parent.buildNavipath()}
         <li><a href="${h.url_for(controller='/case')}">${_('cm_np_root')}</a></li>
         <li><a href="#">${_('case_cm_phase')}</a></li>
 </%def>
-<%include file="../../dialogs/success.mako" />
+<div class="dialog">
+<h1><img src="${h.url_for('/images/icons/info/confirmation.png')}" alt="Erledigt"
+    width="48"
+    height="48">${c.dialog_title or c.success_for | F.NA}</h1>
+<p>${c.dialog_text or c.success_text | F.NA}</p>
+<div class="import_box_dialog">
+  <p>
+    ${h.literal(_('Please consider, that the case should be given to the client in printed form after changing the phase. More information can be under %s') %  '<a href="%s" target="_blank">%s</a>' % (h.url_for(controller='/annotations', action='help', id='datenschutz_veraenderte_daten'), _('Help')))}
+  </p>
+</div>
+<br>
+<a class="button" href="${c.url_ok}">${_('dialog_header_confirm_option_ok')}</a>
+<a class="button" href="${h.url_for(controller='/case', action='printAll', id=session.get('case').id, confirmed=0)}" target="_blank">Drucken</a>
+</div>

Modified: base/trunk/mpulsweb/templates/phase/dialogs/success_halfautomatic_set_phase.mako
===================================================================
--- base/trunk/mpulsweb/templates/phase/dialogs/success_halfautomatic_set_phase.mako	2010-11-30 14:57:16 UTC (rev 4276)
+++ base/trunk/mpulsweb/templates/phase/dialogs/success_halfautomatic_set_phase.mako	2010-11-30 16:06:16 UTC (rev 4277)
@@ -9,7 +9,14 @@
 <div class="dialog" />
   <h1><img src="${h.url_for('/images/icons/info/confirmation.png')}" alt="Erledigt"/>${c.dialog_title | F.NA}</h1>
   <p>${c.dialog_text | F.NA}</p>
+  <div class="import_box_dialog">
+    <p>
+      ${h.literal(_('Please consider, that the case should be given to the client in printed form after changing the phase. More information can be under %s') %  '<a href="%s" target="_blank">%s</a>' % (h.url_for(controller='/annotations', action='help', id='datenschutz_veraenderte_daten'), _('Help')))}
+    </p>
+  </div>
+  <br>
   <a class="button import" href="${c.url_ok}">Ja</a>
   <a class="button import" href="${c.url_no}">Nein</a>
+  <a class="button" href="${h.url_for(controller='/case', action='printAll', id=session.get('case').id, confirmed=0)}" target="_blank">Drucken</a>
   </div>
 </div>



More information about the Mpuls-commits mailing list