[Mpuls-commits] r1811 - wasko/branches/2.0/mpulsweb/templates/casemanagement/dialogs
scm-commit@wald.intevation.org
scm-commit at wald.intevation.org
Thu Feb 25 17:17:22 CET 2010
Author: torsten
Date: 2010-02-25 17:17:21 +0100 (Thu, 25 Feb 2010)
New Revision: 1811
Modified:
wasko/branches/2.0/mpulsweb/templates/casemanagement/dialogs/success_anonymize.mako
Log:
Fixed dialog
Modified: wasko/branches/2.0/mpulsweb/templates/casemanagement/dialogs/success_anonymize.mako
===================================================================
--- wasko/branches/2.0/mpulsweb/templates/casemanagement/dialogs/success_anonymize.mako 2010-02-25 16:17:06 UTC (rev 1810)
+++ wasko/branches/2.0/mpulsweb/templates/casemanagement/dialogs/success_anonymize.mako 2010-02-25 16:17:21 UTC (rev 1811)
@@ -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/success.mako" />
+<%include file="/dialogs/success.mako" />
More information about the Mpuls-commits
mailing list