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 {% if entry.severity == entry.severity.MODERATION %}
22 <i class="fas fa-exclamation-triangle" style="color: yellow;"></i>
23 {% elif entry.severity == entry.severity.EDITOR %}
24 <i class="fas fa-users" style="color: #537eac;"></i>
28 <div class="col-sm-2 text-muted">
30 class="img-responsive user-photo img-thumbnail img-thumbnail-1"
31 style="max-height: 22px;"
32 src="{{ entry.causer.getProfilePicURL() }}" />
34 <span class="pl-2">{{ entry.causer.display_name }}</span>
40 {% if entry.description %}
41 <i class="fas fa-paperclip ml-3"></i>
45 {% if entry.package %}
46 <div class="col-sm-auto text-muted">
48 {{ entry.package.title }}
52 class="img-responsive"
53 style="max-height: 22px; max-width: 22px;"
54 src="{{ entry.package.getThumbnailURL(1) }}" />
59 <div class="col-sm-auto text-muted">
60 {{ entry.created_at | datetime }}
65 <p class="list-group-item"><i>No audit log entires.</i></p>