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

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Mon Feb 7 12:32:10 CET 2011


Author: torsten
Date: 2011-02-07 12:32:10 +0100 (Mon, 07 Feb 2011)
New Revision: 4588

Modified:
   base/trunk/mpulsweb/templates/casemanagement/main.mako
Log:
* mpulsweb/templates/casemanagement/main.mako: Fixed showing links for creating reminders


Modified: base/trunk/mpulsweb/templates/casemanagement/main.mako
===================================================================
--- base/trunk/mpulsweb/templates/casemanagement/main.mako	2011-02-07 09:36:52 UTC (rev 4587)
+++ base/trunk/mpulsweb/templates/casemanagement/main.mako	2011-02-07 11:32:10 UTC (rev 4588)
@@ -146,15 +146,15 @@
                             ${_('cm_menu_link_appointment')}
                         </a>
                     </li>
+                    % if g.mpuls_config.is_enabled('case-module', 'reminders') and session.get('case').getState().getState() == 1 and h.hasRole(['cm']):
+                    <li>
+                        <a href="${h.url_for(controller='caseappointment',
+                                             action='newReminder',
+                                             id=session.get('case').id)}"
+                           onclick="return checkModification();"> ${_('cm_menu_link_create_reminder')}</a>
+                    </li>
+                    % endif
                 % endif
-                % if g.mpuls_config.is_enabled('case-module', 'appointments') and session.get('case').getState().getState() == 1 and h.hasRole(['cm']):
-                <li>
-                    <a href="${h.url_for(controller='caseappointment',
-                                         action='newReminder',
-                                         id=session.get('case').id)}"
-                       onclick="return checkModification();"> ${_('cm_menu_link_create_reminder')}</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