[Mpuls-commits] r2749 - in base/trunk: . mpulsweb/templates/home

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Tue May 25 20:32:35 CEST 2010


Author: bh
Date: 2010-05-25 20:32:34 +0200 (Tue, 25 May 2010)
New Revision: 2749

Modified:
   base/trunk/ChangeLog
   base/trunk/mpulsweb/templates/home/caseappointmentlist.mako
   base/trunk/mpulsweb/templates/home/globalappointmentlist.mako
   base/trunk/mpulsweb/templates/home/remindlist.mako
Log:
* mpulsweb/templates/home/caseappointmentlist.mako,
mpulsweb/templates/home/globalappointmentlist.mako,
mpulsweb/templates/home/remindlist.mako: Use h.url_for
consistently for all-intra application URLs.


Modified: base/trunk/ChangeLog
===================================================================
--- base/trunk/ChangeLog	2010-05-25 18:29:59 UTC (rev 2748)
+++ base/trunk/ChangeLog	2010-05-25 18:32:34 UTC (rev 2749)
@@ -1,5 +1,12 @@
 2010-05-25  Bernhard Herzog  <bh at intevation.de>
 
+	* mpulsweb/templates/home/caseappointmentlist.mako,
+	mpulsweb/templates/home/globalappointmentlist.mako,
+	mpulsweb/templates/home/remindlist.mako: Use h.url_for
+	consistently for all-intra application URLs.
+
+2010-05-25  Bernhard Herzog  <bh at intevation.de>
+
 	* mpulsweb/templates/formularpage/formular.mako: Use h.url_for
 	consistently for all-intra application URLs.
 

Modified: base/trunk/mpulsweb/templates/home/caseappointmentlist.mako
===================================================================
--- base/trunk/mpulsweb/templates/home/caseappointmentlist.mako	2010-05-25 18:29:59 UTC (rev 2748)
+++ base/trunk/mpulsweb/templates/home/caseappointmentlist.mako	2010-05-25 18:32:34 UTC (rev 2749)
@@ -3,13 +3,13 @@
   %if appointment.case_id:
     % if appointment.type == 0:
       <a href="${h.url_for(controller='/caseappointment', action='show', id=appointment.id, confirmed=0)}">
-        <img src="/images/icons/open_active_22.png" border="0" alt="${_('cm_overview_a_show')}" title="${_('cm_overview_a_show')}"></a>
+        <img src="${h.url_for('/images/icons/open_active_22.png')}" border="0" alt="${_('cm_overview_a_show')}" title="${_('cm_overview_a_show')}"></a>
     % else:
       <a href="${h.url_for(controller='/case', action='select', id=appointment.case_id, confirmed=0)}">
-        <img src="/images/icons/open_active_22.png" border="0" alt="${_('cm_overview_a_show')}" title="${_('cm_overview_a_show')}"></a>
+        <img src="${h.url_for('/images/icons/open_active_22.png')}" border="0" alt="${_('cm_overview_a_show')}" title="${_('cm_overview_a_show')}"></a>
     % endif
   % else:
     <a href="${h.url_for(controller='/caseappointment', action='show', id=appointment.id)}">
-      <img src="/images/icons/open_active_22.png" border="0" alt="${_('cm_overview_a_show')}" title="${_('cm_overview_a_show')}"></a>
+      <img src="${h.url_for('/images/icons/open_active_22.png')}" border="0" alt="${_('cm_overview_a_show')}" title="${_('cm_overview_a_show')}"></a>
   % endif
 </%def>

Modified: base/trunk/mpulsweb/templates/home/globalappointmentlist.mako
===================================================================
--- base/trunk/mpulsweb/templates/home/globalappointmentlist.mako	2010-05-25 18:29:59 UTC (rev 2748)
+++ base/trunk/mpulsweb/templates/home/globalappointmentlist.mako	2010-05-25 18:32:34 UTC (rev 2749)
@@ -1,7 +1,9 @@
 <%!  import mpulsweb.lib.helper.filters as F %>
 <%def name="showAppointmentActions(appointment)">
   <a href="${h.url_for(controller='/appointment', action='show', id=appointment.id)}">
-    <img src="/images/icons/open_active_22.png" border="0" alt="${_('cm_overview_a_show')}" title="${_('cm_overview_a_show')}"></a>
+    <img src="${h.url_for('/images/icons/open_active_22.png')}" border="0" 
+         alt="${_('cm_overview_a_show')}" 
+         title="${_('cm_overview_a_show')}"></a>
 </%def>
 
 <table class="appointment">

Modified: base/trunk/mpulsweb/templates/home/remindlist.mako
===================================================================
--- base/trunk/mpulsweb/templates/home/remindlist.mako	2010-05-25 18:29:59 UTC (rev 2748)
+++ base/trunk/mpulsweb/templates/home/remindlist.mako	2010-05-25 18:32:34 UTC (rev 2749)
@@ -1,9 +1,14 @@
 <%inherit file="/appointments/remindlist_body.mako" />
 <%def name="showAppointmentActions(appointment)">
-  <a href="${h.url_for(controller='/case', action='select', id=appointment.case_id, confirmed=0)}">
-    <img src="/images/icons/open_active_22.png" border="0" alt="${_('cm_overview_a_show')}" title="${_('cm_overview_a_show')}"></a>
+  <a href="${h.url_for(controller='/case', action='select',
+                       id=appointment.case_id, confirmed=0)}">
+    <img src="${h.url_for('/images/icons/open_active_22.png')}" border="0" 
+         alt="${_('cm_overview_a_show')}" 
+         title="${_('cm_overview_a_show')}"></a>
 </%def>
 <%def name="showKeepActiveActions(appointment)">
   <a href="${h.url_for(controller='/case', action='keepActive', id=appointment.case_id, confirmed=0)}">
-    <img src="/images/icons/refresh_active_22.png" border="0" alt="${_('cm_overview_a_keepactive')}" title="${_('cm_overview_a_keepactive')}"></a>
+    <img src="${h.url_for('/images/icons/refresh_active_22.png')}" border="0" 
+         alt="${_('cm_overview_a_keepactive')}" 
+         title="${_('cm_overview_a_keepactive')}"></a>
 </%def>



More information about the Mpuls-commits mailing list