removed comments

This commit is contained in:
Beverly Nguyen
2024-01-25 15:39:32 -08:00
parent 524a1e4687
commit 6e05fd5147
3 changed files with 4 additions and 10 deletions

View File

@@ -58,10 +58,9 @@ def service_dashboard(service_id):
{
"job_id": job["id"],
"time_left": get_time_left(job["created_at"]),
# "download_link": url_for(".view_job_csv", service_id=current_service.id, job_id=job["id"]),
"download_link": url_for(".view_job_csv", service_id=current_service.id, job_id=job["id"]),
"notification_count": job["notification_count"],
"created_by": job["created_by"],
"download_link": url_for(".view_job_csv", service_id=current_service.id, job_id=job["id"])
}
for job in job_response.get('data', [])
]
@@ -71,7 +70,6 @@ def service_dashboard(service_id):
partials=get_dashboard_partials(service_id),
notifications=notifications,
jobs=jobs,
job_response=job_response['data'],
service_data_retention_days=service_data_retention_days,
)

View File

@@ -6,7 +6,7 @@
<thead class="table-field-headings{% if field_headings_visible %}-visible{% endif %}">
<tr>
{% for field_heading in field_headings %}
<th scope="col" class="table-field-heading{% if loop.first %}-first{% endif %} {{ field_heading|lower|replace(' ', '-') }}" width="{% if equal_length %}{{ (100 / field_headings|length)|int }}%{% endif %}">
<th scope="col" class="table-field-heading{% if loop.first %}-first{% endif %}" width="{% if equal_length %}{{ (100 / field_headings|length)|int }}%{% endif %}">
{% if field_headings_visible %}
{{ field_heading }}
{% else %}

View File

@@ -57,13 +57,9 @@
<tbody>
{% for notification in notifications %}
{% if notification %}
<tr class="table-row" id="f4b38296-06a3-4963-a66b-fb44fd6fa55c">
<tr class="table-row">
<th class="table-field">
{% if notification.job.original_file_name %}
{{ notification.job.original_file_name }}
{% else %}
{{ 'Manually entered number' }}
{% endif %}
{{ notification.job.original_file_name if notification.job.original_file_name else 'Manually entered number'}}
<br>
<a class="usa-link file-list-filename" href="/services/{{ notification.service }}/jobs/{{ notification.job.id }}">View Batch</a>
</th>