-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathlogs.html
More file actions
40 lines (38 loc) · 1.51 KB
/
logs.html
File metadata and controls
40 lines (38 loc) · 1.51 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
{% extends 'user/base.html' %}
{% block body %}
<div class="collaborator-list limit-width ember-view">
<table class="w-100 mb5">
<tr class="w-100 f5">
<th class="pv2 pr1 bb b--light-gray b">
change_message
</th>
<th class="pv2 pr1 bb b--light-gray b">
content_type
</th>
<th class="pv2 pr1 bb b--light-gray b">
action_time
</th>
</tr>
{% for log in logs %}
<tr class="ember-view">
<td class="bb b--light-silver pv2 pr1 gray">
{% if log.change_message %}
{% for msg in log.change_message %}
{% for k, v in msg.items %}
{{ k }}
{% for field in v.fields %}
{{ field }}
{% endfor %}
{% endfor %}
{% endfor %}
.
{% endif %}
</td>
<td class="bb b--light-silver pv2 pr1 gray">{{log.content_type}}</td>
<td class="bb b--light-silver pv2 pr1 gray">{{log.action_time}}</td>
</tr>
{% endfor %}
</table>
</div>
{% endblock %}
{% block is_log_active %}active{% endblock %}