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

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Tue Feb 2 12:54:11 CET 2010


Author: torsten
Date: 2010-02-02 12:54:05 +0100 (Tue, 02 Feb 2010)
New Revision: 1129

Modified:
   wasko/branches/2.0/waskaweb/templates/casemanagement/appointmentlist.mako
Log:
* waskaweb/templates/casemanagement/appointmentlist.mako: Formatting.
Call show and delete methods in caseappointments controller.


Modified: wasko/branches/2.0/waskaweb/templates/casemanagement/appointmentlist.mako
===================================================================
--- wasko/branches/2.0/waskaweb/templates/casemanagement/appointmentlist.mako	2010-02-02 11:28:33 UTC (rev 1128)
+++ wasko/branches/2.0/waskaweb/templates/casemanagement/appointmentlist.mako	2010-02-02 11:54:05 UTC (rev 1129)
@@ -1,7 +1,17 @@
 <%inherit file="/appointments/overview_body.mako" />
 <%def name="showAppointmentActions(appointment)">
-<a href="${h.url_for(controller='/case', action='showAppointment', id=appointment.id)}"><img src="/images/icons/view_red.gif" border="0" alt="${_('cm_overview_a_show')}" title="${_('cm_overview_a_show')}"></a>
-% if h.hasRole(['cm_ka']):
-  <a href="${h.url_for(controller='/case', action='deleteAppointment', id=appointment.id, confirmed=0)}"><img src="/images/icons/delete_red.gif" border="0" alt="${_('cm_overview_a_delete')}" title="${_('cm_overview_a_delete')}"></a>
-% endif
+  <a href="${h.url_for(controller='/caseappointment', 
+                       action='show', id=appointment.id, 
+                       confirmed='1')}">
+    <img src="/images/icons/view_red.gif" border="0" alt="${_('cm_overview_a_show')}" 
+     title="${_('cm_overview_a_show')}">
+  </a>
+  % if h.hasRole(['cm_ka']):
+    <a href="${h.url_for(controller='/caseappointment', action='delete', 
+                        id=appointment.id, confirmed=0)}">
+      <img src="/images/icons/delete_red.gif" border="0" 
+           alt="${_('cm_overview_a_delete')}" 
+           title="${_('cm_overview_a_delete')}">
+    </a>
+  % endif
 </%def>



More information about the Mpuls-commits mailing list