mirror of
https://github.com/netbox-community/netbox.git
synced 2025-07-22 20:12:00 -06:00
#19561 fix changelog table on profile page
This commit is contained in:
parent
2804359cdd
commit
478bb4027f
@ -195,7 +195,7 @@ class ProfileView(LoginRequiredMixin, View):
|
||||
user=request.user
|
||||
).prefetch_related(
|
||||
'changed_object_type'
|
||||
)[:20]
|
||||
)
|
||||
changelog_table = ObjectChangeTable(changelog)
|
||||
changelog_table.configure(request)
|
||||
|
||||
|
@ -68,6 +68,7 @@
|
||||
<h2 class="card-header text-center">{% trans "Recent Activity" %}</h2>
|
||||
<div class="table-responsive">
|
||||
{% render_table changelog_table 'inc/table.html' %}
|
||||
{% include 'inc/paginator.html' with paginator=changelog_table.paginator page=changelog_table.page %}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
Loading…
Reference in New Issue
Block a user