[Mpuls-commits] r1810 - wasko/branches/2.0/mpulsweb/templates/casemanagement/dialogs

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Thu Feb 25 17:17:07 CET 2010


Author: torsten
Date: 2010-02-25 17:17:06 +0100 (Thu, 25 Feb 2010)
New Revision: 1810

Modified:
   wasko/branches/2.0/mpulsweb/templates/casemanagement/dialogs/confirm_anonymize.mako
Log:
Fixed dialog.


Modified: wasko/branches/2.0/mpulsweb/templates/casemanagement/dialogs/confirm_anonymize.mako
===================================================================
--- wasko/branches/2.0/mpulsweb/templates/casemanagement/dialogs/confirm_anonymize.mako	2010-02-25 16:07:14 UTC (rev 1809)
+++ wasko/branches/2.0/mpulsweb/templates/casemanagement/dialogs/confirm_anonymize.mako	2010-02-25 16:17:06 UTC (rev 1810)
@@ -1,8 +1,15 @@
 ## -*- coding: utf-8 -*- 
 <%inherit file="/main.mako" />
+<%
+  case = session.get('case')
+%>
 <%def name="buildNavipath()">
   ${parent.buildNavipath()}
-  <li><a href="/case/select/${session['case'].id}/1">${_('cm_np_select')}</a></li>
+  %if case:
+    <li><a href="/case/select/${case.id}/1">${_('cm_np_select')}</a></li>
+  %else:
+    <li><a href="/case_overview">${_('cm_np_overview')}</a></li>
+  %endif
   <li><a href="#">${_('cm_np_anonymize')}</a></li>
 </%def>
-<%include file="../../dialogs/confirm.mako" />
+<%include file="/dialogs/confirm.mako" />



More information about the Mpuls-commits mailing list