[Mpuls-commits] r4499 - in base/trunk: . mpulsweb/templates

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Mon Jan 17 15:30:39 CET 2011


Author: torsten
Date: 2011-01-17 15:30:37 +0100 (Mon, 17 Jan 2011)
New Revision: 4499

Added:
   base/trunk/mpulsweb/templates/switch_to_other_datasets.mako
Modified:
   base/trunk/ChangeLog
   base/trunk/mpulsweb/templates/main.mako
Log:
new template with code for rendering links to switch between different
datasets


Modified: base/trunk/ChangeLog
===================================================================
--- base/trunk/ChangeLog	2011-01-17 09:30:28 UTC (rev 4498)
+++ base/trunk/ChangeLog	2011-01-17 14:30:37 UTC (rev 4499)
@@ -3,6 +3,11 @@
 	* mpulsweb/lib/dialogs.py (checkPrivacyStatement.validate): Issue1585:
 	Fixed link to open a appointment.
 
+	* mpulsweb/templates/switch_to_other_datasets.mako,
+	mpulsweb/templates/main.mako: New template for code to switch between
+	different datasets. On default this is empty so no additional menu
+	will be rendered. Can be overwritten. 
+
 2011-01-14  Torsten Irlaender <torsten at intevation.de>
 
 	* mpulsweb/controllers/settings.py (SettingsController.editAction,

Modified: base/trunk/mpulsweb/templates/main.mako
===================================================================
--- base/trunk/mpulsweb/templates/main.mako	2011-01-17 09:30:28 UTC (rev 4498)
+++ base/trunk/mpulsweb/templates/main.mako	2011-01-17 14:30:37 UTC (rev 4499)
@@ -132,6 +132,7 @@
         % endif
       </div>
     </div>
+    <%include file="switch_to_other_datasets.mako" />
     % if g.mpuls_config.is_enabled('module', 'agency-overview'):
       <div class="menu">
         <div class="actions">

Added: base/trunk/mpulsweb/templates/switch_to_other_datasets.mako
===================================================================
--- base/trunk/mpulsweb/templates/switch_to_other_datasets.mako	2011-01-17 09:30:28 UTC (rev 4498)
+++ base/trunk/mpulsweb/templates/switch_to_other_datasets.mako	2011-01-17 14:30:37 UTC (rev 4499)
@@ -0,0 +1,2 @@
+## -*- coding: utf-8 -*-
+## On default no other datasets are defined.



More information about the Mpuls-commits mailing list