{% macro render_audit_log(log) -%}
{% for entry in log %} {% else %} href="{{ entry.url }}"> {% endif %}
{% if entry.severity == entry.severity.MODERATION %} {% elif entry.severity == entry.severity.EDITOR %} {% elif entry.severity == entry.severity.USER %} {% endif %}
{% if entry.causer %} {{ entry.causer.display_name }} {% else %} Deleted User {% endif %}
{{ entry.title}} {% if entry.description %} {% endif %}
{% if entry.package %}
{{ entry.package.title }}
{% endif %}
{{ entry.created_at | datetime }}
{% else %}

No audit log entires.

{% endfor %}
{% endmacro %}