mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-06-24 09:21:06 -04:00
removed comments
This commit is contained in:
@@ -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,
|
||||
)
|
||||
|
||||
|
||||
@@ -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 %}
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user