[Mpuls-commits] r4885 - in jmd/trunk: . jmdstrukturweb/templates jmdweb/templates

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Thu Apr 7 16:02:33 CEST 2011


Author: roland
Date: 2011-04-07 16:02:32 +0200 (Thu, 07 Apr 2011)
New Revision: 4885

Modified:
   jmd/trunk/ChangeLog
   jmd/trunk/jmdstrukturweb/templates/switch_to_other_datasets.mako
   jmd/trunk/jmdweb/templates/switch_to_other_datasets.mako
Log:
use the standard 'reclycle' icon for switiching to other datasets

Modified: jmd/trunk/ChangeLog
===================================================================
--- jmd/trunk/ChangeLog	2011-04-07 13:41:04 UTC (rev 4884)
+++ jmd/trunk/ChangeLog	2011-04-07 14:02:32 UTC (rev 4885)
@@ -1,5 +1,12 @@
 2011-04-07  Roland Geider  <roland.geider at intevation.de>
 
+	* jmdweb/templates/switch_to_other_datasets.mako,
+	  jmdstrukturweb/templates/switch_to_other_datasets.mako: use the
+	  standard "reclycle" icon for switiching to other datasets, not the
+	  oragange arrow
+
+2011-04-07  Roland Geider  <roland.geider at intevation.de>
+
 	* jmdstrukturweb/model/case.py,
 	  jmdstrukturweb/model/struktur.py: issue1990: initialise new
 	  statistics with the number of users

Modified: jmd/trunk/jmdstrukturweb/templates/switch_to_other_datasets.mako
===================================================================
--- jmd/trunk/jmdstrukturweb/templates/switch_to_other_datasets.mako	2011-04-07 13:41:04 UTC (rev 4884)
+++ jmd/trunk/jmdstrukturweb/templates/switch_to_other_datasets.mako	2011-04-07 14:02:32 UTC (rev 4885)
@@ -1,6 +1,6 @@
 ## -*- coding: utf-8 -*-
 % if config.get('jmd.otherapp.url'):
-  <div class="menu">
+  <div class="menu switchdataset">
     <div class="actions">
       <h1>Fallakten</h1>
       <ul>

Modified: jmd/trunk/jmdweb/templates/switch_to_other_datasets.mako
===================================================================
--- jmd/trunk/jmdweb/templates/switch_to_other_datasets.mako	2011-04-07 13:41:04 UTC (rev 4884)
+++ jmd/trunk/jmdweb/templates/switch_to_other_datasets.mako	2011-04-07 14:02:32 UTC (rev 4885)
@@ -3,7 +3,7 @@
 from jmdweb.model.struktur import is_struktur_user, struktur_part_available
 %>
 % if struktur_part_available() and (h.hasRole(['admin']) or is_struktur_user()):
-  <div class="menu">
+  <div class="menu switchdataset">
     <div class="actions">
       <h1>${_('Structure data, Activities')}</h1>
       <ul>
@@ -14,7 +14,8 @@
         </li>
         %if h.hasRole(['admin']):
         <li>
-          <a href="${h.url_for(controller='/jmdstruktur/permission')}">
+          <a href="${h.url_for(controller='/jmdstruktur/permission')}"
+          class="dataset_permissions">
             ${_('User permissions')}
           </a>
         </li>



More information about the Mpuls-commits mailing list