[Mpuls-commits] r1137 - wasko/branches/2.0/waskaweb/templates/casemanagement

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Tue Feb 2 15:02:53 CET 2010


Author: torsten
Date: 2010-02-02 15:02:49 +0100 (Tue, 02 Feb 2010)
New Revision: 1137

Modified:
   wasko/branches/2.0/waskaweb/templates/casemanagement/newAppointment.mako
Log:
Adopted links to call methods in caseappointment controller


Modified: wasko/branches/2.0/waskaweb/templates/casemanagement/newAppointment.mako
===================================================================
--- wasko/branches/2.0/waskaweb/templates/casemanagement/newAppointment.mako	2010-02-02 14:00:24 UTC (rev 1136)
+++ wasko/branches/2.0/waskaweb/templates/casemanagement/newAppointment.mako	2010-02-02 14:02:49 UTC (rev 1137)
@@ -10,7 +10,7 @@
 <%def name="buildNavipath()">
   ${parent.buildNavipath()}
   <li><a href="/case/select/${session.get('case').id}/1">${_('cm_np_select')}</a></li>
-  <li><a href="/case/appointments/${session.get('case').id}">${_('app_np_list')}</a></li>
+  <li><a href="/caseappointment/index/${session.get('case').id}">${_('app_np_list')}</a></li>
   <li><a href="#">${_('app_np_new')}</a></li>
 </%def>
 <div id="content_header_small">
@@ -21,7 +21,7 @@
     <div class="actions">
       <ul>
         <li>
-          <a href="${h.url_for(controller='case', action='appointments', id=c.ds_id)}"> ${_('menu_app_link_overview_back')}</a>
+          <a href="${h.url_for(controller='/caseappointment', action='index', id=session['case'].id)}"> ${_('menu_app_link_overview_back')}</a>
         </li>
       </ul>
     </div>
@@ -30,7 +30,7 @@
 ${self.buildFormErrors(formular_labels)}
 <div id="admin_new_user">
 <div id="waska_form">
-<form action="${h.url_for(controller='case', action='newAppointmentAction')}" method="POST">
+<form action="${h.url_for(controller='caseappointment', action='newAction')}" method="POST">
 <%include file="../appointments/edit_body.mako" />
 </form>
 </div>



More information about the Mpuls-commits mailing list