mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-06 06:31:33 -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),
|
||||
notifications=notifications,
|
||||
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=(
|
||||
url_for(
|
||||
".view_job_csv",
|
||||
|
||||
@@ -30,7 +30,7 @@
|
||||
</p>
|
||||
{% elif notifications and time_left != "Data no longer available" %}
|
||||
<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>
|
||||
</p>
|
||||
|
||||
Reference in New Issue
Block a user