mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-05-26 08:09:51 -04:00
Include status when linking to notifications page
Without this argument the 'sending' filter doesn’t get highlighted by default.
This commit is contained in:
@@ -114,6 +114,7 @@ def view_notification(service_id, notification_id):
|
||||
'main.view_notifications',
|
||||
service_id=current_service.id,
|
||||
message_type=template.template_type,
|
||||
status='sending,delivered,failed',
|
||||
)
|
||||
|
||||
return render_template(
|
||||
|
||||
@@ -118,7 +118,7 @@ def test_notification_status_page_respects_redaction(
|
||||
@pytest.mark.parametrize('extra_args, expected_back_link', [
|
||||
(
|
||||
{},
|
||||
partial(url_for, 'main.view_notifications', message_type='sms'),
|
||||
partial(url_for, 'main.view_notifications', message_type='sms', status='sending,delivered,failed'),
|
||||
),
|
||||
(
|
||||
{'from_job': 'job_id'},
|
||||
|
||||
Reference in New Issue
Block a user