diff --git a/rhodecode/templates/admin/admin_log.mako b/rhodecode/templates/admin/admin_log.mako --- a/rhodecode/templates/admin/admin_log.mako +++ b/rhodecode/templates/admin/admin_log.mako @@ -6,9 +6,10 @@ ${_('Username')} ${_('Action')} + ${_('Action Data')} ${_('Repository')} ${_('Date')} - ${_('From IP')} + ${_('IP')} %for cnt,l in enumerate(c.users_log): @@ -20,11 +21,24 @@ ${l.username} %endif - ${h.action_parser(l)[0]()} + + % if l.version == l.VERSION_1: + ${h.action_parser(l)[0]()} + % else: + ${h.literal(l.action)} + % endif +
- ${h.literal(h.action_parser(l)[1]())} + % if l.version == l.VERSION_1: + ${h.literal(h.action_parser(l)[1]())} + % endif
+ + % if l.version == l.VERSION_2: + ${l.action_data} + % endif + %if l.repository is not None: ${h.link_to(l.repository.repo_name,h.url('summary_home',repo_name=l.repository.repo_name))}