Merge pull request #2291 from alphagov/remove-redundant-args

Remove redundant arguments to notification page
This commit is contained in:
Chris Hill-Scott
2018-09-07 13:26:03 +01:00
committed by GitHub

View File

@@ -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,