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

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


Author: torsten
Date: 2010-02-02 15:36:27 +0100 (Tue, 02 Feb 2010)
New Revision: 1143

Modified:
   wasko/branches/2.0/waskaweb/templates/casemanagement/showAppointment.mako
Log:
* waskaweb/templates/casemanagement/showAppointment.mako: Adopt links to call new methods in caseappointment controller.


Modified: wasko/branches/2.0/waskaweb/templates/casemanagement/showAppointment.mako
===================================================================
--- wasko/branches/2.0/waskaweb/templates/casemanagement/showAppointment.mako	2010-02-02 14:32:48 UTC (rev 1142)
+++ wasko/branches/2.0/waskaweb/templates/casemanagement/showAppointment.mako	2010-02-02 14:36:27 UTC (rev 1143)
@@ -2,8 +2,8 @@
 <%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/${c.appointment.case_id}">${_('app_np_list')}</a></li>
-  <li><a href="/appointment/show/${c.appointment.id}"></a>${_('app_np_show')}</li>
+  <li><a href="/caseappointment/index/${c.appointment.case_id}">${_('app_np_list')}</a></li>
+  <li><a href="/caseappointment/show/${c.appointment.id}"></a>${_('app_np_show')}</li>
 </%def>
 <div id="content_header_small">
   <div id="content_ueberschrift">
@@ -14,13 +14,13 @@
       <ul>
         % if h.hasRole(['cm_ka']):
         <li>
-          <a href="${h.url_for(controller='/case', action='editAppointment', id=c.appointment.id)}">
+          <a href="${h.url_for(controller='/caseappointment', action='edit', id=c.appointment.id)}">
             ${_('sm_menu_link_edit_appointment')}
           </a>
         </li>
         % endif
         <li>
-          <a href="${h.url_for(controller='/case', action='appointments', id=c.appointment.case_id)}">${_('menu_app_link_overview_back')}</a>
+          <a href="${h.url_for(controller='/caseappointment', action='index', id=c.appointment.case_id)}">${_('menu_app_link_overview_back')}</a>
         </li>
       </ul>
     </div>



More information about the Mpuls-commits mailing list