Show More
@@ -93,7 +93,7 def _ignorews_url(fileid=None): | |||||
93 | params[ctx_key] += [ctx_val] |
|
93 | params[ctx_key] += [ctx_val] | |
94 |
|
94 | |||
95 | params['anchor'] = fileid |
|
95 | params['anchor'] = fileid | |
96 | img = h.image('/images/icons/text_strikethrough.png', lbl, class_='icon') |
|
96 | img = h.image(h.url('/images/icons/text_strikethrough.png'), lbl, class_='icon') | |
97 | return h.link_to(img, h.url.current(**params), title=lbl, class_='tooltip') |
|
97 | return h.link_to(img, h.url.current(**params), title=lbl, class_='tooltip') | |
98 |
|
98 | |||
99 |
|
99 | |||
@@ -144,7 +144,7 def _context_url(fileid=None): | |||||
144 | lbl = _('%s line context') % ln_ctx |
|
144 | lbl = _('%s line context') % ln_ctx | |
145 |
|
145 | |||
146 | params['anchor'] = fileid |
|
146 | params['anchor'] = fileid | |
147 | img = h.image('/images/icons/table_add.png', lbl, class_='icon') |
|
147 | img = h.image(h.url('/images/icons/table_add.png'), lbl, class_='icon') | |
148 | return h.link_to(img, h.url.current(**params), title=lbl, class_='tooltip') |
|
148 | return h.link_to(img, h.url.current(**params), title=lbl, class_='tooltip') | |
149 |
|
149 | |||
150 |
|
150 |
General Comments 0
You need to be logged in to leave comments.
Login now