[Mpuls-commits] r1326 - wasko/branches/2.0/mpulsweb/controllers
scm-commit@wald.intevation.org
scm-commit at wald.intevation.org
Mon Feb 8 14:31:01 CET 2010
Author: torsten
Date: 2010-02-08 14:31:01 +0100 (Mon, 08 Feb 2010)
New Revision: 1326
Added:
wasko/branches/2.0/mpulsweb/controllers/help.py
wasko/branches/2.0/mpulsweb/controllers/info.py
Log:
Added new controllers for help and info
* mpulsweb/controllers/help.py,
mpulsweb/controllers/info.py: New. Return empty default pages
Added: wasko/branches/2.0/mpulsweb/controllers/help.py
===================================================================
--- wasko/branches/2.0/mpulsweb/controllers/help.py 2010-02-08 13:29:18 UTC (rev 1325)
+++ wasko/branches/2.0/mpulsweb/controllers/help.py 2010-02-08 13:31:01 UTC (rev 1326)
@@ -0,0 +1,13 @@
+import logging
+
+from pylons import request, response, session, tmpl_context as c
+from pylons.controllers.util import abort, redirect_to
+
+from mpulsweb.lib.base import BaseController, render
+
+log = logging.getLogger(__name__)
+
+class HelpController(BaseController):
+
+ def index(self):
+ return render('/help/help.mako')
Added: wasko/branches/2.0/mpulsweb/controllers/info.py
===================================================================
--- wasko/branches/2.0/mpulsweb/controllers/info.py 2010-02-08 13:29:18 UTC (rev 1325)
+++ wasko/branches/2.0/mpulsweb/controllers/info.py 2010-02-08 13:31:01 UTC (rev 1326)
@@ -0,0 +1,13 @@
+import logging
+
+from pylons import request, response, session, tmpl_context as c
+from pylons.controllers.util import abort, redirect_to
+
+from mpulsweb.lib.base import BaseController, render
+
+log = logging.getLogger(__name__)
+
+class InfoController(BaseController):
+
+ def index(self):
+ return render('/info/info.mako')
More information about the Mpuls-commits
mailing list