diff --git a/rhodecode/lib/helpers.py b/rhodecode/lib/helpers.py
--- a/rhodecode/lib/helpers.py
+++ b/rhodecode/lib/helpers.py
@@ -412,10 +412,12 @@ def bool2icon(value):
"""
if value is True:
- return HTML.tag('img', src="/images/icons/accept.png", alt=_('True'))
+ return HTML.tag('img', src=url("/images/icons/accept.png"),
+ alt=_('True'))
if value is False:
- return HTML.tag('img', src="/images/icons/cancel.png", alt=_('False'))
+ return HTML.tag('img', src=url("/images/icons/cancel.png"),
+ alt=_('False'))
return value
@@ -518,7 +520,7 @@ def action_parser_icon(user_log):
if len(x) > 1:
action, action_params = x
- tmpl = """
"""
+ tmpl = """
"""
map = {'user_deleted_repo':'database_delete.png',
'user_created_repo':'database_add.png',
'user_forked_repo':'arrow_divide.png',
@@ -532,7 +534,8 @@ def action_parser_icon(user_log):
'started_following_repo':'heart_add.png',
'stopped_following_repo':'heart_delete.png',
}
- return literal(tmpl % (map.get(action, action), action))
+ return literal(tmpl % ((url('/images/icons/')),
+ map.get(action, action), action))
#==============================================================================