[Mpuls-commits] r5589 - base/trunk/mpulsweb/templates/home

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Wed Nov 16 10:14:42 CET 2011


Author: torsten
Date: 2011-11-16 10:14:42 +0100 (Wed, 16 Nov 2011)
New Revision: 5589

Added:
   base/trunk/mpulsweb/templates/home/customcontent.mako
Modified:
   base/trunk/mpulsweb/templates/home/home.mako
Log:
Include customcontent.mako in home.mako to be able to add application specific
content on the blackboard.


Added: base/trunk/mpulsweb/templates/home/customcontent.mako
===================================================================
--- base/trunk/mpulsweb/templates/home/customcontent.mako	2011-11-16 08:20:37 UTC (rev 5588)
+++ base/trunk/mpulsweb/templates/home/customcontent.mako	2011-11-16 09:14:42 UTC (rev 5589)
@@ -0,0 +1,2 @@
+## -*- coding: utf-8 -*-
+## No custom content here. Overwrite in specific application

Modified: base/trunk/mpulsweb/templates/home/home.mako
===================================================================
--- base/trunk/mpulsweb/templates/home/home.mako	2011-11-16 08:20:37 UTC (rev 5588)
+++ base/trunk/mpulsweb/templates/home/home.mako	2011-11-16 09:14:42 UTC (rev 5589)
@@ -30,6 +30,8 @@
       </div>
     % endif
   % endif
+  ## CUSTOM CONTENT ON BLACKBOARD
+  <%include file="/home/customcontent.mako"/>
   ## APPOINTMENTS
   ## Reminders
   % if g.mpuls_config.is_enabled('case-module', 'reminders'):



More information about the Mpuls-commits mailing list