[Mpuls-commits] r1104 - wasko/branches/2.0/waskaweb/controllers

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Mon Feb 1 17:54:59 CET 2010


Author: torsten
Date: 2010-02-01 17:54:57 +0100 (Mon, 01 Feb 2010)
New Revision: 1104

Modified:
   wasko/branches/2.0/waskaweb/controllers/casedocument.py
Log:
* waskaweb/controllers/casedocument.py (CasedocumentController.new):
  New. Return rendered template to add a document to the case 


Modified: wasko/branches/2.0/waskaweb/controllers/casedocument.py
===================================================================
--- wasko/branches/2.0/waskaweb/controllers/casedocument.py	2010-02-01 16:43:02 UTC (rev 1103)
+++ wasko/branches/2.0/waskaweb/controllers/casedocument.py	2010-02-01 16:54:57 UTC (rev 1104)
@@ -29,3 +29,7 @@
         c.files = case.getDocuments()
         return render('/documents/case_overview.mako')
 
+    @checkRole('cm_ka')
+    def new(self):
+        return render('/documents/case_new.mako')
+



More information about the Mpuls-commits mailing list