[Mpuls-commits] r1312 - wasko/branches/2.0/mpulsweb/lib

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Mon Feb 8 12:44:13 CET 2010


Author: torsten
Date: 2010-02-08 12:44:13 +0100 (Mon, 08 Feb 2010)
New Revision: 1312

Modified:
   wasko/branches/2.0/mpulsweb/lib/helpers.py
Log:
* mpulsweb/lib/helpers.py (get_app_title): New function to get the app
  title from config.


Modified: wasko/branches/2.0/mpulsweb/lib/helpers.py
===================================================================
--- wasko/branches/2.0/mpulsweb/lib/helpers.py	2010-02-08 11:43:50 UTC (rev 1311)
+++ wasko/branches/2.0/mpulsweb/lib/helpers.py	2010-02-08 11:44:13 UTC (rev 1312)
@@ -94,6 +94,8 @@
         out.append('</a>')
     return "".join(out)
 
+def get_app_title():
+    return config.get('mpuls.app.title')
 
 # Helper functions to get some information about the logged in user
 



More information about the Mpuls-commits mailing list