[Mpuls-commits] r2770 - in base/trunk: . mpulsweb/templates/casemanagement
scm-commit@wald.intevation.org
scm-commit at wald.intevation.org
Wed May 26 16:48:46 CEST 2010
Author: bh
Date: 2010-05-26 16:48:45 +0200 (Wed, 26 May 2010)
New Revision: 2770
Modified:
base/trunk/ChangeLog
base/trunk/mpulsweb/templates/casemanagement/caselist.mako
Log:
* mpulsweb/templates/casemanagement/caselist.mako: Pass the
confirmed flag to url_for with the correct name.
Modified: base/trunk/ChangeLog
===================================================================
--- base/trunk/ChangeLog 2010-05-26 14:47:20 UTC (rev 2769)
+++ base/trunk/ChangeLog 2010-05-26 14:48:45 UTC (rev 2770)
@@ -1,5 +1,10 @@
2010-05-26 Bernhard Herzog <bh at intevation.de>
+ * mpulsweb/templates/casemanagement/caselist.mako: Pass the
+ confirmed flag to url_for with the correct name.
+
+2010-05-26 Bernhard Herzog <bh at intevation.de>
+
* mpulsweb/controllers/case.py (CaseController.markForDelete)
(CaseController.delete, CaseController.markForAnonymize)
(CaseController._markForAnonymize, CaseController.anonymize)
Modified: base/trunk/mpulsweb/templates/casemanagement/caselist.mako
===================================================================
--- base/trunk/mpulsweb/templates/casemanagement/caselist.mako 2010-05-26 14:47:20 UTC (rev 2769)
+++ base/trunk/mpulsweb/templates/casemanagement/caselist.mako 2010-05-26 14:48:45 UTC (rev 2770)
@@ -194,7 +194,7 @@
<%def name="get_actions(case)">
% if case.getState().getState() != 5:
<a href="${h.url_for(controller='case', action='select', id=case.id,
- confirm=0)}">
+ confirmed=0)}">
<img src = "${h.url_for('/images/icons/open_active_22.png')}"
border = "0"
alt = "${_('cm_overview_a_show')}"
@@ -205,7 +205,7 @@
% if h.hasRole(['admin_ka']):
% if case.getState().getState() in (3, 5):
<a href="${h.url_for(controller='case', action='delete', id=case.id,
- confirm=0)}">
+ confirmed=0)}">
<img src = "${h.url_for('/images/icons/delete_active_22.png')}"
border = "0"
alt = "${_('Delete case')}"
@@ -215,7 +215,7 @@
% endif
% if case.getState().getState() == 4:
<a href="${h.url_for(controller='case', action='anonymize', id=case.id,
- confirm=0)}">
+ confirmed=0)}">
<img src = "${h.url_for('/images/icons/anonymise_active_22.png')}"
border = "0"
alt = "${_('cm_overview_a_anonymize')}"
@@ -225,7 +225,7 @@
% endif
% if case.getState().getState() in (3, 4):
<a href="${h.url_for(controller='case', action='restore', id=case.id,
- confirm=0)}">
+ confirmed=0)}">
<img src = "${h.url_for('/images/icons/refresh_active_22.png')}"
border = "0"
alt = "${_('cm_overview_a_restore')}"
@@ -236,7 +236,7 @@
% elif h.hasRole(['cm_ka']) and case.getState().getState() in (1, 2):
<a href="${h.url_for(controller='case',
action='markForAnonymizeFromOverview', id=case.id,
- confirm=0)}">
+ confirmed=0)}">
<img src = "${h.url_for('/images/icons/anonymise_active_22.png')}"
border = "0"
alt = "${_('cm_overview_a_anonymize')}"
@@ -244,7 +244,7 @@
width = "22"
height = "22"></a>
<a href="${h.url_for(controller='case', action='markForDelete', id=case.id,
- confirm=0)}">
+ confirmed=0)}">
<img src = "${h.url_for('/images/icons/delete_active_22.png')}"
border = "0"
alt = "${_('cm_overview_a_delete')}"
More information about the Mpuls-commits
mailing list