[Mpuls-commits] r3334 - in base/trunk: . mpulsweb/templates/casemanagement

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Fri Aug 6 09:08:28 CEST 2010


Author: roland
Date: 2010-08-06 09:08:26 +0200 (Fri, 06 Aug 2010)
New Revision: 3334

Modified:
   base/trunk/ChangeLog
   base/trunk/mpulsweb/templates/casemanagement/caselist.mako
Log:
issue879: use url_for for the icons in the case legend

Modified: base/trunk/ChangeLog
===================================================================
--- base/trunk/ChangeLog	2010-08-05 08:27:46 UTC (rev 3333)
+++ base/trunk/ChangeLog	2010-08-06 07:08:26 UTC (rev 3334)
@@ -1,3 +1,9 @@
+2010-07-12  Roland Geider  <roland.geider at intevation.de>
+
+	* mpulsweb/templates/casemanagement/caselist.mako: issue879: use
+	  url_for for the icons in the case legend
+
+
 2010-08-04  Bernhard Herzog  <bh at intevation.de>
 
 	* mpulsweb/i18n/mpulsweb.pot: Regenerate.

Modified: base/trunk/mpulsweb/templates/casemanagement/caselist.mako
===================================================================
--- base/trunk/mpulsweb/templates/casemanagement/caselist.mako	2010-08-05 08:27:46 UTC (rev 3333)
+++ base/trunk/mpulsweb/templates/casemanagement/caselist.mako	2010-08-06 07:08:26 UTC (rev 3334)
@@ -173,10 +173,10 @@
   % endfor
   ${legend.append("%s: %s" % ( _('Unknown')[0], _('Unknown') ))}
   ${", ".join(legend)}
-  | <span style="background-image:url('/images/icons/phase-running-22.png'); background-repeat:no-repeat; background-position:1px -2px">
+  | <span style="background-image:url('${h.url_for("/images/icons/phase-running-22.png")}'); background-repeat:no-repeat; background-position:1px -2px">
       (&nbsp;&nbsp;&nbsp;)
     </span>: ${_("Running")}, 
-    <span style="background-image:url('/images/icons/phase-stop-22.png'); background-repeat:no-repeat; background-position:1px -2px">
+    <span style="background-image:url('${h.url_for("/images/icons/phase-stop-22.png")}'); background-repeat:no-repeat; background-position:1px -2px">
       (&nbsp;&nbsp;&nbsp;)
     </span>: ${_("Finished")}
 </div>



More information about the Mpuls-commits mailing list