[Mpuls-commits] r2339 - wasko/branches/2.0/mpulsweb/templates/phase/dialogs

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Wed Apr 14 12:35:05 CEST 2010


Author: torsten
Date: 2010-04-14 12:35:02 +0200 (Wed, 14 Apr 2010)
New Revision: 2339

Modified:
   wasko/branches/2.0/mpulsweb/templates/phase/dialogs/success_set_phase.mako
Log:
* mpulsweb/templates/phase/dialogs/success_set_phase.mako: Only offer
  logbook if it is enabled.


Modified: wasko/branches/2.0/mpulsweb/templates/phase/dialogs/success_set_phase.mako
===================================================================
--- wasko/branches/2.0/mpulsweb/templates/phase/dialogs/success_set_phase.mako	2010-04-14 10:24:57 UTC (rev 2338)
+++ wasko/branches/2.0/mpulsweb/templates/phase/dialogs/success_set_phase.mako	2010-04-14 10:35:02 UTC (rev 2339)
@@ -20,13 +20,19 @@
       <strong class="import_number">1.</strong> Fallakte drucken:
       <a class="button import" href="/case/printAll/${session.get('case').id}/0" target="_blank">Drucken</a>
     </p>
+    % if g.mpuls_config.is_enabled('case-module', 'phase'):
     <p class="import_p">
       <strong class="export_number">2.</strong> Phasenwechsel im Falltagebuch dokumentieren:
       <a class="button import" href="/logbook/new/${session.get('case').id}">Falltagebuch</a>
     </p>
+    % endif
     <p><strong>oder</strong></p>
     <p class="import_p">
-      <strong class="export_number">3.</strong> Zur Phasenübersicht zurückkehren:
+      % if g.mpuls_config.is_enabled('case-module', 'phase'):
+        <strong class="export_number">3.</strong> Zur Phasenübersicht zurückkehren:
+      % else:
+        <strong class="export_number">2.</strong> Zur Phasenübersicht zurückkehren:
+      % endif
       <a class="button import" href="${c.url_ok}">Phasenübersicht</a>
     </p>
   </div>



More information about the Mpuls-commits mailing list