mirror of
https://github.com/netbox-community/netbox.git
synced 2025-08-16 12:38:17 -06:00
10587 pagination
This commit is contained in:
parent
7d44da0a2a
commit
ab9734a9d8
@ -1204,6 +1204,7 @@ class ScriptResultView(TableMixin, generic.ObjectView):
|
||||
if job.completed:
|
||||
table_logs, table_tests = self.get_table(job, request, bulk_actions=False)
|
||||
|
||||
breakpoint()
|
||||
context = {
|
||||
'script': job.object,
|
||||
'job': job,
|
||||
|
@ -19,12 +19,14 @@
|
||||
</p>
|
||||
{% if job.completed %}
|
||||
|
||||
{% if table.logs and not table_tests %}
|
||||
<div class="card">
|
||||
<div class="table-responsive" id="object_list">
|
||||
<h5 class="card-header">{% trans "Log" %}</h5>
|
||||
{% include 'htmx/table.html' with table=table_logs %}
|
||||
</div>
|
||||
</div>
|
||||
{% endif %}
|
||||
|
||||
{# Script output. Legacy reports will not have this. #}
|
||||
{% if 'output' in job.data %}
|
||||
|
Loading…
Reference in New Issue
Block a user