mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-09-11 10:28:41 -04:00
Fix "Data available for X days" text disappearing on job details page
This commit is contained in:
@@ -77,6 +77,11 @@ def view_job(service_id, job_id):
|
|||||||
counts=_get_job_counts(job),
|
counts=_get_job_counts(job),
|
||||||
notifications=notifications,
|
notifications=notifications,
|
||||||
more_than_one_page=more_than_one_page,
|
more_than_one_page=more_than_one_page,
|
||||||
|
uploaded_file_name=job.original_file_name,
|
||||||
|
time_left=get_time_left(job.created_at),
|
||||||
|
service_data_retention_days=current_service.get_days_of_retention(
|
||||||
|
job.template_type, number_of_days="seven_day"
|
||||||
|
),
|
||||||
download_link=(
|
download_link=(
|
||||||
url_for(
|
url_for(
|
||||||
".view_job_csv",
|
".view_job_csv",
|
||||||
|
|||||||
@@ -30,7 +30,7 @@
|
|||||||
</p>
|
</p>
|
||||||
{% elif notifications and time_left != "Data no longer available" %}
|
{% elif notifications and time_left != "Data no longer available" %}
|
||||||
<p class="margin-bottom-3">
|
<p class="margin-bottom-3">
|
||||||
<a href="{{ download_link }}" download class="usa-link font-heading-md">Download this report (<abbr title="Comma separated values">CSV</abbr>)</a>
|
<a href="{{ download_link }}" download class="usa-link">Download this report (<abbr title="Comma separated values">CSV</abbr>)</a>
|
||||||
 
|
 
|
||||||
<span id="time-left">{{ time_left }}</span>
|
<span id="time-left">{{ time_left }}</span>
|
||||||
</p>
|
</p>
|
||||||
|
|||||||
Reference in New Issue
Block a user