{% extends "base.html" %} {% load url from future %} {% load i18n %} {% block content %} {% include "staff_part_audit_filter.html" %} {% if by == 'cred' %}

{% blocktrans with cred_title=item.title %}Audit Logs for password '{{ cred_title }}'{% endblocktrans %}

{% endif %} {% if by == 'user' %}

{% blocktrans with username=item.username %}Audit Logs for user '{{ username }}'{% endblocktrans %}

{% endif %} {% if by == 'days' %}

{% blocktrans %}Audit Logs going back {{ item }} days ago{% endblocktrans %}

{% endif %} {% if type != 'user' %} {% endif %} {% if type != 'cred' %} {% endif %} {% for audit in logs %} {% if by != 'user' %} {% endif %} {% if vy != 'cred' %} {% endif %} {% endfor %}
{% trans "Action" %} {% trans "User" %}{% trans "Credential" %}{% trans "When" %}
{{ audit.get_audittype_display }}{{ audit.user.username }}{{ audit.cred.title }}{{ audit.time }}
{% endblock %}