mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-07-08 18:34:24 -04:00
Merge pull request #2291 from alphagov/remove-redundant-args
Remove redundant arguments to notification page
This commit is contained in:
@@ -34,7 +34,6 @@ from app.utils import (
|
||||
get_help_argument,
|
||||
get_letter_timings,
|
||||
get_template,
|
||||
get_time_left,
|
||||
parse_filter_args,
|
||||
set_status_filters,
|
||||
user_has_permissions,
|
||||
@@ -136,13 +135,6 @@ def view_notification_updates(service_id, notification_id):
|
||||
|
||||
def get_single_notification_partials(notification):
|
||||
return {
|
||||
'notifications': render_template(
|
||||
'partials/notifications/notifications.html',
|
||||
notification=notification,
|
||||
more_than_one_page=False,
|
||||
percentage_complete=100,
|
||||
time_left=get_time_left(notification['created_at']),
|
||||
),
|
||||
'status': render_template(
|
||||
'partials/notifications/status.html',
|
||||
notification=notification,
|
||||
|
||||
Reference in New Issue
Block a user