removed notification conditional

This commit is contained in:
Beverly Nguyen
2024-01-12 13:32:10 -08:00
parent 34ea3812d6
commit 321ddbd27a
2 changed files with 4 additions and 6 deletions

View File

@@ -66,7 +66,7 @@ def service_dashboard(service_id):
if job_data: if job_data:
jobs.append(job_data) jobs.append(job_data)
service_data_retention_days = None service_data_retention_days = 7
download_availability = [] download_availability = []
for job in jobs: for job in jobs:
message_type = job.get("template_type") message_type = job.get("template_type")

View File

@@ -30,9 +30,8 @@
{{ ajax_block(partials, updates_url, 'template-statistics') }} {{ ajax_block(partials, updates_url, 'template-statistics') }}
<h2 class="margin-top-4 margin-bottom-1">Batched Jobs</h2> <h2 class="margin-top-4 margin-bottom-1">Batched Jobs</h2>
{% if notifications %}
<div class='job-table'> <div class='job-table'>
{% endif %}
{% call(item, row_number) list_table( {% call(item, row_number) list_table(
notifications, notifications,
caption="Batched Jobs", caption="Batched Jobs",
@@ -63,9 +62,8 @@
{% endcall %} {% endcall %}
{% endif %} {% endif %}
{% endcall %} {% endcall %}
{% if notifications %} </div>
</div>
{% endif %}
{% if show_pagination %} {% if show_pagination %}
{{ previous_next_navigation(prev_page, next_page) }} {{ previous_next_navigation(prev_page, next_page) }}