Use common settings for all element history tables

This commit is contained in:
Jan Böhmer 2022-10-09 20:27:31 +02:00
parent f50959837f
commit 38ff9bae4a
8 changed files with 36 additions and 18 deletions

View file

@ -44,7 +44,8 @@
<div class="card mt-3">
<div class="card-header"><i class="fas fa-fw fa-history"></i> {% trans %}homepage.last_activity{% endtrans %}</div>
<div class="card-body">
{% include "LogSystem/_log_table.html.twig" %}
{% import "components/history_log_macros.html.twig" as log %}
{{ log.last_activity_component(datatable) }}
</div>
</div>
{% endif %}