changeset 2070:c238df8ceb24

Fix for #378
author Erwin Kroon <e.kroon@smartmetersolutions.nl>
date Wed, 29 Feb 2012 21:43:54 +0100
parents 36feadd70c10
children 6c6718c06ea2
files rhodecode/controllers/changeset.py
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/rhodecode/controllers/changeset.py	Tue Feb 28 20:54:53 2012 +0200
+++ b/rhodecode/controllers/changeset.py	Wed Feb 29 21:43:54 2012 +0100
@@ -93,7 +93,7 @@
         params[ctx_key] += [ctx_val]
 
     params['anchor'] = fileid
-    img = h.image('/images/icons/text_strikethrough.png', lbl, class_='icon')
+    img = h.image(h.url('/images/icons/text_strikethrough.png'), lbl, class_='icon')
     return h.link_to(img, h.url.current(**params), title=lbl, class_='tooltip')
 
 
@@ -144,7 +144,7 @@
     lbl = _('%s line context') % ln_ctx
 
     params['anchor'] = fileid
-    img = h.image('/images/icons/table_add.png', lbl, class_='icon')
+    img = h.image(h.url('/images/icons/table_add.png'), lbl, class_='icon')
     return h.link_to(img, h.url.current(**params), title=lbl, class_='tooltip')