{% extends "base_nav.html" %} {% load humanize %} {% load i18n %} {% load staticfiles %} {% load smart_pagination %} {% block "title" %}{% trans "Audit log" %}{% endblock %} {% block "content" %}

{% if secret %} {% blocktrans with name=secret.name %}Audit log for secret '{{ name }}'{% endblocktrans %} {% elif user %} {% blocktrans with name=user.username %}Audit log for user '{{ name }}'{% endblocktrans %} {% else %} {% trans "Audit log" %} {% endif %}



{% for entry in log_entries %} {% endfor %}
{{ entry.time|date:"Y-m-d H:i:s" }} {% if entry.secret %}{{ entry.secret.name }}{% endif %} {% if entry.actor %}{{ entry.actor.username }}{% endif %} {{ entry.message }}
{% if is_paginated %}
    {% if page_obj.has_previous %}
  • {% else %}
  • {% endif %} {% for page in paginator.page_range|smart_pages:page_obj.number %} {% if page_obj.number == page %}
  • {{ page }} (current)
  • {% else %}
  • {{ page }}
  • {% endif %} {% endfor %} {% if page_obj.has_next %}
  • {% else %}
  • {% endif %}
{% endif %}
{% endblock %}