mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-07-10 03:14:58 -04:00
Don’t link to ‘Report’ jobs
‘Report’ jobs are what we used to have for one-off messages. The page for a report job doesn’t contain any extra info from what’s on the notification page. We will still have ‘Report’ jobs while we transition to sending one-off messages through the API. So while we still have these jobs, let’s hide any links to them because they’re not useful pages.
This commit is contained in:
@@ -17,7 +17,7 @@
|
||||
<p>
|
||||
<a href="{{ url_for('.view_template', service_id=current_service.id, template_id=template.id) }}">{{ template.name }}</a>
|
||||
sent
|
||||
{% if job %}
|
||||
{% if job and job.original_file_name != 'Report' %}
|
||||
from
|
||||
<a href="{{ url_for('.view_job', service_id=current_service.id, job_id=job.id) }}">{{ job.original_file_name }}</a>
|
||||
{% elif created_by %}
|
||||
|
||||
Reference in New Issue
Block a user