mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-18 13:39:41 -04:00
Don’t show blue boxes once notifications have gone
You can click the blue boxes to filter the list of notifications. Once the notifications have gone there’s nothing to filter, so we should just show the numbers but without them being clickable.
This commit is contained in:
@@ -446,7 +446,10 @@ def get_job_partials(job, template):
|
||||
counts = render_template(
|
||||
'partials/count.html',
|
||||
counts=_get_job_counts(job),
|
||||
status=filter_args['status']
|
||||
status=filter_args['status'],
|
||||
notifications_deleted=(
|
||||
job['job_status'] == 'finished' and not notifications['notifications']
|
||||
),
|
||||
)
|
||||
service_data_retention_days = current_service.get_days_of_retention(template['template_type'])
|
||||
can_letter_job_be_cancelled = False
|
||||
|
||||
Reference in New Issue
Block a user