1 {% extends "base.html" %}
10 <div class="list-group mt-3">
11 {% for entry in log %}
12 <a class="list-group-item list-group-item-action"
13 {% if entry.description %}
14 href="{{ url_for('admin.audit_view', id=entry.id) }}">
16 href="{{ entry.url }}">
19 <div class="row {% if entry.severity == entry.severity.NORMAL %}text-muted{% endif %}">
20 <div class="col-sm-auto text-center" style="width: 50px;"
21 title="{{ _('Severity: %(sev)s.', sev=entry.severity.getTitle()) }}">
22 {% if entry.severity == entry.severity.MODERATION %}
23 <i class="fas fa-exclamation-triangle" style="color: yellow;"></i>
24 {% elif entry.severity == entry.severity.EDITOR %}
25 <i class="fas fa-users" style="color: #537eac;"></i>
29 <div class="col-sm-2 text-muted">
31 class="img-responsive user-photo img-thumbnail img-thumbnail-1"
32 style="max-height: 22px;"
33 src="{{ entry.causer.getProfilePicURL() }}" />
35 <span class="pl-2">{{ entry.causer.display_name }}</span>
41 {% if entry.description %}
42 <i class="fas fa-paperclip ml-3"></i>
46 {% if entry.package %}
47 <div class="col-sm-auto text-muted">
49 {{ entry.package.title }}
53 class="img-responsive"
54 style="max-height: 22px; max-width: 22px;"
55 src="{{ entry.package.getThumbnailURL(1) }}" />
60 <div class="col-sm-auto text-muted">
61 {{ entry.created_at | datetime }}
66 <p class="list-group-item"><i>No audit log entires.</i></p>