Updates to the template table and removing the table being replicated 2 times

This commit is contained in:
Jonathan Bobel
2024-08-06 15:03:57 -04:00
parent 6cecd5903a
commit b01ca6bb15
2 changed files with 1 additions and 3 deletions

View File

@@ -58,7 +58,6 @@
{% if current_user.has_permissions('manage_service') %}{% endif %}
{{ ajax_block(partials, updates_url, 'template-statistics') }}
<div class="table-container">
<div id="table1" class="table-overflow-x-auto hidden">
<h2 class="margin-top-4 margin-bottom-1">My Activity</h2>
@@ -158,8 +157,6 @@
</table>
</div>
</div>
<h2>Recent templates</h2>
{{ ajax_block(partials, updates_url, 'template-statistics') }}
</div>

View File

@@ -2,6 +2,7 @@
<div class="ajax-block-container">
{% if template_statistics|length > 1 %}
<h2 class="margin-top-4 margin-bottom-1">Recent Templates</h2>
<div class='template-statistics-table table-overflow-x-auto'>
{% call(item, row_number) list_table(
template_statistics,