[Mpuls-commits] r1083 - wasko/branches/2.0/waskaweb/controllers
scm-commit@wald.intevation.org
scm-commit at wald.intevation.org
Mon Feb 1 16:24:25 CET 2010
Author: torsten
Date: 2010-02-01 16:24:23 +0100 (Mon, 01 Feb 2010)
New Revision: 1083
Modified:
wasko/branches/2.0/waskaweb/controllers/case.py
Log:
* waskaweb/controllers/case.py (CaseController.showAppointment):
Restored method. Was deleted by accident.
Modified: wasko/branches/2.0/waskaweb/controllers/case.py
===================================================================
--- wasko/branches/2.0/waskaweb/controllers/case.py 2010-02-01 15:05:54 UTC (rev 1082)
+++ wasko/branches/2.0/waskaweb/controllers/case.py 2010-02-01 15:24:23 UTC (rev 1083)
@@ -784,6 +784,14 @@
defaults=form_defaults,
auto_insert_errors=False,
errors=c.form_errors)
+ @checkRole(('admin_ka', 'cm_ka'))
+ @checkPrivacyStatement('showAppointment')
+ def showAppointment(self, id, confirmed):
+ factory = CaseAppointmentFactory()
+ id = self._checkInt(id)
+ app = factory.loadById(id)
+ c.appointment = app
+ return render('/casemanagement/showAppointment.mako')
@checkRole(('cm_ka'))
def editAppointment(self, id):
More information about the Mpuls-commits
mailing list