[Mpuls-commits] r3145 - base/trunk/mpulsweb/templates/casemanagement

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Tue Jul 6 14:38:39 CEST 2010


Author: torsten
Date: 2010-07-06 14:38:39 +0200 (Tue, 06 Jul 2010)
New Revision: 3145

Modified:
   base/trunk/mpulsweb/templates/casemanagement/main.mako
Log:
* mpulsweb/templates/casemanagement/main.mako: Moved Link for logbook
from submenu "weitere optionen" one level up, as the logbook is
usually used very frequently. Further this was a wish of J. Gregersen
in WASKA.


Modified: base/trunk/mpulsweb/templates/casemanagement/main.mako
===================================================================
--- base/trunk/mpulsweb/templates/casemanagement/main.mako	2010-07-06 11:16:40 UTC (rev 3144)
+++ base/trunk/mpulsweb/templates/casemanagement/main.mako	2010-07-06 12:38:39 UTC (rev 3145)
@@ -97,6 +97,16 @@
                                  id=session.get('case').id)}"
                onclick="return checkModification();">${_('case_cm_phase')}</a>
         </li>
+        % if h.hasRole(['cm_ka']) and g.mpuls_config.is_enabled('case-module', 'logbook'):
+            <li>
+                <a href="${h.url_for(controller='logbook',
+                                     action='index',
+                                     id=session.get('case').id)}" 
+                    onclick="return checkModification();">
+                    Tagebuch
+                </a>
+            </li>
+        % endif
       </ul>
     % endif
      </div>
@@ -142,16 +152,6 @@
                        onclick="return checkModification();"> ${_('cm_menu_link_create_reminder')}</a>
                 </li>
                 % endif
-                % if h.hasRole(['cm_ka']) and g.mpuls_config.is_enabled('case-module', 'logbook'):
-                    <li>
-                        <a href="${h.url_for(controller='logbook',
-                                             action='index',
-                                             id=session.get('case').id)}" 
-                            onclick="return checkModification();">
-                            Tagebuch
-                        </a>
-                    </li>
-                % endif
                 % if g.mpuls_config.is_enabled('case-module', 'documents'):
                     <li>
                         <a href="${h.url_for(controller='casedocument',



More information about the Mpuls-commits mailing list