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

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Mon Jun 7 09:58:44 CEST 2010


Author: torsten
Date: 2010-06-07 09:58:44 +0200 (Mon, 07 Jun 2010)
New Revision: 2901

Modified:
   base/trunk/mpulsweb/templates/casemanagement/main.mako
Log:
Added new action "copy" to case menu.


Modified: base/trunk/mpulsweb/templates/casemanagement/main.mako
===================================================================
--- base/trunk/mpulsweb/templates/casemanagement/main.mako	2010-06-07 07:58:09 UTC (rev 2900)
+++ base/trunk/mpulsweb/templates/casemanagement/main.mako	2010-06-07 07:58:44 UTC (rev 2901)
@@ -167,6 +167,13 @@
                     onclick="return checkModification();"
                     target="_blank">${_('cm_menu_link_print')}</a>
                 </li>
+                <li>
+                    <a href="${h.url_for(controller='case', action='copy', 
+                                         id=session.get('case').id,
+                                         confirmed=0)}"
+                    onclick="return checkModification();"
+                    target="_blank">${_('Copy case')}</a>
+                </li>
             % endif
             </ul>
         </li>



More information about the Mpuls-commits mailing list