diff --git a/rhodecode/templates/admin/admin_log.html b/rhodecode/templates/admin/admin_log.html --- a/rhodecode/templates/admin/admin_log.html +++ b/rhodecode/templates/admin/admin_log.html @@ -1,40 +1,40 @@ ## -*- coding: utf-8 -*- %if c.users_log: - - - - - - - + + + + + + + - %for cnt,l in enumerate(c.users_log): - - + - - + + - - - - %endfor + + + + %endfor
${_('Username')}${_('Action')}${_('Repository')}${_('Date')}${_('From IP')}
${_('Username')}${_('Action')}${_('Repository')}${_('Date')}${_('From IP')}
+ %for cnt,l in enumerate(c.users_log): +
%if l.user is not None: ${h.link_to(l.user.username,h.url('edit_user', id=l.user.user_id))} %else: ${l.username} %endif ${h.action_parser(l)[0]()} -
+
${h.action_parser(l)[0]()} +
${h.literal(h.action_parser(l)[1]())}
-
- %if l.repository is not None: - ${h.link_to(l.repository.repo_name,h.url('summary_home',repo_name=l.repository.repo_name))} - %else: - ${l.repository_name} - %endif - + %if l.repository is not None: + ${h.link_to(l.repository.repo_name,h.url('summary_home',repo_name=l.repository.repo_name))} + %else: + ${l.repository_name} + %endif + ${h.fmt_date(l.action_date)}${l.user_ip}
${h.fmt_date(l.action_date)}${l.user_ip}