[Mpuls-commits] r1080 - wasko/branches/2.0/waskaweb/controllers
scm-commit@wald.intevation.org
scm-commit at wald.intevation.org
Mon Feb 1 15:52:38 CET 2010
Author: torsten
Date: 2010-02-01 15:52:37 +0100 (Mon, 01 Feb 2010)
New Revision: 1080
Modified:
wasko/branches/2.0/waskaweb/controllers/case.py
Log:
* waskaweb/controllers/case.py (CaseController.showHelp):
Deleted unused function.
* waskaweb/controllers/case.py (CaseController.showRequired):
Deleted unused function.
Modified: wasko/branches/2.0/waskaweb/controllers/case.py
===================================================================
--- wasko/branches/2.0/waskaweb/controllers/case.py 2010-02-01 14:50:55 UTC (rev 1079)
+++ wasko/branches/2.0/waskaweb/controllers/case.py 2010-02-01 14:52:37 UTC (rev 1080)
@@ -567,22 +567,6 @@
auto_insert_errors=False,
errors=c.form_errors)
- @checkRole(('admin_ka', 'cm_ka', 'pb_ka'))
- def showHelp(self, help_id):
- help = g.helpData.getHelp(help_id)
- if help is None:
- raise HTTPNotFound()
- c.helpdata = help
- return render('/casemanagement/help.mako')
-
- @checkRole(('admin_ka', 'cm_ka', 'pb_ka'))
- def showRequired(self, help_id):
- required = g.helpData.getAnnotations(help_id)
- if not required:
- raise HTTPNotFound()
- c.required = required
- return render('/casemanagement/required.mako')
-
@checkRole('cm_ka')
def importCase(self):
return render('/casemanagement/upload.mako')
More information about the Mpuls-commits
mailing list