mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-01 12:19:47 -04:00
removed notification conditional
This commit is contained in:
@@ -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")
|
||||||
|
|||||||
@@ -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) }}
|
||||||
|
|||||||
Reference in New Issue
Block a user