{% load i18n %}

{% if last_changes %}
<table>
<thead>
<tr>
<th>{% trans "Date" %}</th>
<th>{% trans "User" %}</th>
<th>{% trans "Translation" %}</th>
</tr>
<tbody>
{% for c in last_changes %}
<tr>
<td>{{ c.timestamp|date:"DATETIME_FORMAT" }}</td>
<td>{{ c.user.get_full_name }}</td>
<td>{{ c.unit.translation }}</td>
</tr>
{% endfor %}
</tbody>
</table>
{% else %}
<p>{% trans "No recent activity has been recorded." %}</p>
{% endif %}
