{% extends "base.html" %} {% block title %}Audit{% endblock %} {% block body %} {% set families = {'record': 'record', 'note': 'record', 'conflict': 'record', 'grant': 'access', 'scope': 'access', 'invite': 'access', 'account': 'access', 'login': 'auth', 'auth': 'auth', 'session': 'auth', 'token': 'auth', 'consent': 'auth', 'web': 'auth', 'agent': 'agent'} %} {% set keep = {'target': f.get('target', ''), 'days': f.get('days', ''), 'all': f.get('all', ''), 'agent': f.get('agent', '')} %}
{% if all %}Everything on this server.{% else %}Your own activity and activity in scopes you own.{% endif %}
{{ e.action }}{% if e.target %}{{ e.target }}{% endif %}
{% if e.detail %}{{ e.detail }}{% endif %}
{{ e.account_email or '—' }}{% if e.agent_name %} {{ e.agent_name }}{% endif %}
{% if e.ip_prefix %}{{ e.ip_prefix }}{% endif %}