misuzu/templates/manage/general/logs.twig

25 lines
854 B
Twig
Raw Normal View History

2022-09-13 13:14:49 +00:00
{% extends 'manage/general/master.twig' %}
{% from 'macros.twig' import container_title, pagination %}
{% from 'user/macros.twig' import user_account_log %}
{% block manage_content %}
<div class="container settings__container">
{{ container_title('<i class="fas fa-file-alt fa-fw"></i> Global Log') }}
2023-09-08 20:40:48 +00:00
{% set glp = pagination(global_logs_pagination, 'manage-general-logs') %}
2022-09-13 13:14:49 +00:00
<div class="settings__account-logs">
<div class="settings__account-logs__pagination">
{{ glp }}
</div>
{% for log in global_logs %}
{{ user_account_log(log, global_logs_users, global_logs_users_colours) }}
2022-09-13 13:14:49 +00:00
{% endfor %}
<div class="settings__account-logs__pagination">
{{ glp }}
</div>
</div>
</div>
{% endblock %}