43 lines
1.1 KiB
HTML
43 lines
1.1 KiB
HTML
{% extends "base_site" %}
|
|
|
|
{% block breadcrumbs %}
|
|
<div class="breadcrumbs"><a href="../../../../">Home</a> › <a href="../../">{{ module_name }}</a> › <a href="../">{{ object|truncatewords:"18" }}</a> › History</div>
|
|
{% endblock %}
|
|
|
|
{% block content %}
|
|
|
|
<div id="content-main">
|
|
<div class="module">
|
|
|
|
{% if action_list %}
|
|
|
|
<table id="change-history">
|
|
<thead>
|
|
<tr>
|
|
<th>Date/time</th>
|
|
<th>User</th>
|
|
<th>Action</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
{% for action in action_list %}
|
|
<tr>
|
|
<th>{{ action.action_time|date:"N j, Y, P" }}</th>
|
|
<td>{{ action.get_user.username }}{% if action.get_user.first_name %} ({{ action.get_user.first_name }} {{ action.get_user.last_name }}){% endif %}</td>
|
|
<td>{{ action.change_message}}</td>
|
|
</tr>
|
|
{% endfor %}
|
|
</tbody>
|
|
</table>
|
|
|
|
{% else %}
|
|
|
|
<p>This object doesn't have a change history. It probably wasn't added via this admin site.</p>
|
|
|
|
{% endif %}
|
|
|
|
</div>
|
|
</div>
|
|
|
|
{% endblock %}
|