Move pagination macro out of audit log fragment
This commit is contained in:
parent
8e8adb8c6a
commit
16febc2a77
@ -2,5 +2,8 @@
|
|||||||
{% from "components/pagination.html" import Pagination %}
|
{% from "components/pagination.html" import Pagination %}
|
||||||
|
|
||||||
{% block content %}
|
{% block content %}
|
||||||
|
<div v-cloak>
|
||||||
{% include "fragments/audit_events_log.html" %}
|
{% include "fragments/audit_events_log.html" %}
|
||||||
|
{{ Pagination(audit_events, 'atst.activity_history')}}
|
||||||
|
</div>
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
@ -1,7 +1,6 @@
|
|||||||
{% from "components/pagination.html" import Pagination %}
|
{% from "components/pagination.html" import Pagination %}
|
||||||
|
|
||||||
<div v-cloak>
|
<section class="block-list">
|
||||||
<section class="block-list">
|
|
||||||
<header class="block-list__header">
|
<header class="block-list__header">
|
||||||
<h1 class="block-list__title">{{ "audit_log.header_title" | translate }}</h1>
|
<h1 class="block-list__title">{{ "audit_log.header_title" | translate }}</h1>
|
||||||
</header>
|
</header>
|
||||||
@ -15,7 +14,4 @@
|
|||||||
</li>
|
</li>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</ul>
|
</ul>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
{{ Pagination(audit_events, 'workspaces.workspace_activity', workspace_id=workspace_id) }}
|
|
||||||
</div>
|
|
||||||
|
@ -2,5 +2,8 @@
|
|||||||
{% from "components/pagination.html" import Pagination %}
|
{% from "components/pagination.html" import Pagination %}
|
||||||
|
|
||||||
{% block workspace_content %}
|
{% block workspace_content %}
|
||||||
|
<div v-cloak>
|
||||||
{% include "fragments/audit_events_log.html" %}
|
{% include "fragments/audit_events_log.html" %}
|
||||||
|
{{ Pagination(audit_events, 'workspaces.workspace_activity', workspace_id=workspace_id) }}
|
||||||
|
</div>
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user