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

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Wed Jun 23 10:11:30 CEST 2010


Author: torsten
Date: 2010-06-23 10:11:29 +0200 (Wed, 23 Jun 2010)
New Revision: 3068

Modified:
   base/trunk/mpulsweb/templates/casemanagement/main.mako
Log:
Moved "copy case" link one item up


Modified: base/trunk/mpulsweb/templates/casemanagement/main.mako
===================================================================
--- base/trunk/mpulsweb/templates/casemanagement/main.mako	2010-06-23 08:08:23 UTC (rev 3067)
+++ base/trunk/mpulsweb/templates/casemanagement/main.mako	2010-06-23 08:11:29 UTC (rev 3068)
@@ -162,22 +162,22 @@
                         </a>
                     </li>
                 % endif
+                % if g.mpuls_config.is_enabled('case-module', 'copy'):
                 <li>
-                    <a href="${h.url_for(controller='case', action='printAll', 
+                    <a href="${h.url_for(controller='case', action='copy', 
                                          id=session.get('case').id,
                                          confirmed=0)}"
                     onclick="return checkModification();"
-                    target="_blank">${_('cm_menu_link_print')}</a>
+                    target="_blank">${_('Copy case')}</a>
                 </li>
-                % if g.mpuls_config.is_enabled('case-module', 'copy'):
+                % endif
                 <li>
-                    <a href="${h.url_for(controller='case', action='copy', 
+                    <a href="${h.url_for(controller='case', action='printAll', 
                                          id=session.get('case').id,
                                          confirmed=0)}"
                     onclick="return checkModification();"
-                    target="_blank">${_('Copy case')}</a>
+                    target="_blank">${_('cm_menu_link_print')}</a>
                 </li>
-                % endif
             % endif
             </ul>
         </li>



More information about the Mpuls-commits mailing list