<%namespace name="base" file="/base/base.mako"/> %if c.audit_logs: %for cnt,l in enumerate(c.audit_logs): %endfor
${_('Uid')} ${_('Username')} ${_('Action')} ${_('Action Data')} ${_('Repository')} ${_('Date')} ${_('IP')}
${l.entry_id} %if l.user is not None: ${base.gravatar_with_user(l.user.email)} %else: ${l.username} %endif % if l.version == l.VERSION_1: ${h.action_parser(l)[0]()} % else: ${h.literal(l.action)} % endif
% if l.version == l.VERSION_1: ${h.literal(h.action_parser(l)[1]())} % endif
% if l.version == l.VERSION_2: ${_('toggle')} % else:
-
% endif
%if l.repository is not None: ${h.link_to(l.repository.repo_name, h.route_path('repo_summary',repo_name=l.repository.repo_name))} %else: ${l.repository_name} %endif ${h.format_date(l.action_date)} ${l.user_ip}
${c.audit_logs.pager('$link_previous ~2~ $link_next')}
%else: ${_('No actions yet')} %endif