Mercurial > kallithea
diff rhodecode/lib/helpers.py @ 1058:4fa80e0484ef rhodecode-0.0.1.1.3
rhodecode release 1.1.3 changes part2
author | Marcin Kuzminski <marcin@python-works.com> |
---|---|
date | Wed, 16 Feb 2011 11:16:27 +0100 |
parents | af6ca51fb80f |
children | bdc438fb4fe4 |
line wrap: on
line diff
--- a/rhodecode/lib/helpers.py Wed Feb 16 11:05:35 2011 +0100 +++ b/rhodecode/lib/helpers.py Wed Feb 16 11:16:27 2011 +0100 @@ -399,10 +399,10 @@ """ 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 @@ -452,7 +452,7 @@ repo_name = action_params return str(link_to(action_params, url('summary_home', repo_name=repo_name,))) - + map = {'user_deleted_repo':(_('[deleted] repository'), None), 'user_created_repo':(_('[created] repository'), None), 'user_forked_repo':(_('[forked] repository'), get_fork_name), @@ -475,7 +475,7 @@ if action_str[1] is not None: action_params_func = action_str[1] - return literal(action +" "+ action_params_func()) + return literal(action + " " + action_params_func()) def action_parser_icon(user_log): action = user_log.action