misuzu/templates/manage/general/logs.twig

24 lines
840 B
Twig

{% 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') }}
{% set glp = pagination(global_logs_pagination, url('manage-general-logs'), null, {'v': 'logs'}) %}
<div class="settings__account-logs">
<div class="settings__account-logs__pagination">
{{ glp }}
</div>
{% for log in global_logs %}
{{ user_account_log(log, true) }}
{% endfor %}
<div class="settings__account-logs__pagination">
{{ glp }}
</div>
</div>
</div>
{% endblock %}