[Mpuls-commits] r1171 - wasko/branches/2.0/waskaweb/controllers
scm-commit@wald.intevation.org
scm-commit at wald.intevation.org
Tue Feb 2 17:50:36 CET 2010
Author: torsten
Date: 2010-02-02 17:50:33 +0100 (Tue, 02 Feb 2010)
New Revision: 1171
Modified:
wasko/branches/2.0/waskaweb/controllers/case.py
Log:
* waskaweb/controllers/case.py (CaseController.open): Deleted. Is not
called from anywhere.
Modified: wasko/branches/2.0/waskaweb/controllers/case.py
===================================================================
--- wasko/branches/2.0/waskaweb/controllers/case.py 2010-02-02 16:47:18 UTC (rev 1170)
+++ wasko/branches/2.0/waskaweb/controllers/case.py 2010-02-02 16:50:33 UTC (rev 1171)
@@ -720,26 +720,6 @@
return render('/casemanagement/dialogs/confirm_restore.mako')
@checkRole('cm_ka')
- def open(self, id, confirmed):
- id = self._checkInt(id)
- confirmed = self._checkBool(confirmed)
- c.ds_id = id
- if confirmed == 1:
- case = self._setState(id, 1)
- c.url_ok = h.url_for(controller="/case", action="organisation", id=id)
- c.success_for = u'Fallakte geöffnet!'
- c.success_text = u'Die Fallakte wurde erfolgreich geöffnet.'
- return render('/casemanagement/dialogs/success_case_close.mako')
- else:
- c.context = "main.mako"
- c.confirm_for = OPEN_CONFIRM
- c.question = OPEN_CONFIRM_TEXT
- c.url_yes = "/case/open/%s/1" % id
- c.url_no = h.url_for(controller="/case", action="organisation",
- id=id)
- return render('/casemanagement/dialogs/confirm_open.mako')
-
- @checkRole('cm_ka')
def close(self, id, confirmed):
id = self._checkInt(id)
confirmed = self._checkBool(confirmed)
More information about the Mpuls-commits
mailing list