# HG changeset patch # User Erwin Kroon # Date 2012-02-29 20:43:54 # Node ID 3aae2f18e5abaffab6d14681fdaa345f45fbd434 # Parent 98f9128328118d775b315b73709883d66e003751 Fix for #378 diff --git a/rhodecode/controllers/changeset.py b/rhodecode/controllers/changeset.py --- a/rhodecode/controllers/changeset.py +++ b/rhodecode/controllers/changeset.py @@ -93,7 +93,7 @@ def _ignorews_url(fileid=None): 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 @@ def _context_url(fileid=None): 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')