## -*- coding: utf-8 -*- <%inherit file="/base/base.mako"/> <%namespace name="base" file="/base/base.mako"/> <%def name="title()"> ${_('Admin audit log entry')} %if c.rhodecode_name: · ${h.branding(c.rhodecode_name)} %endif %def> <%def name="breadcrumbs_links()">%def> <%def name="menu_bar_nav()"> ${self.menu_items(active='admin')} %def> <%def name="menu_bar_subnav()"> ${self.admin_menu(active='audit_logs')} %def> <%def name="main()">
${_('User')}: | %if c.audit_log_entry.user is not None: ${base.gravatar_with_user(c.audit_log_entry.user.email)} %else: ${c.audit_log_entry.username} %endif |
${_('Date')}: | ${h.format_date(c.audit_log_entry.action_date)} |
${_('IP')}: | ${c.audit_log_entry.user_ip} |
${_('Action')}: |
% if c.audit_log_entry.version == c.audit_log_entry.VERSION_1:
${h.action_parser(request, l)[0]()}
% else:
${h.literal(c.audit_log_entry.action)}
% endif
% if c.audit_log_entry.version == c.audit_log_entry.VERSION_1:
${h.literal(h.action_parser(request, l)[1]())}
% endif
|
${_('Action Data')}: |
% if c.audit_log_entry.version == c.audit_log_entry.VERSION_2:
${h.json.dumps(c.audit_log_entry.action_data, indent=4, sort_keys=True)} -% endif |
${_('Repository')}: | %if c.audit_log_entry.repository is not None: ${h.link_to(c.audit_log_entry.repository.repo_name, h.route_path('repo_summary',repo_name=c.audit_log_entry.repository.repo_name))} %else: ${c.audit_log_entry.repository_name or '-'} %endif |