mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-23 07:46:23 -04:00
Remove redundant arguments to notification page
This stuff doesn’t seem to be used anywhere.
This commit is contained in:
@@ -33,7 +33,6 @@ from app.utils import (
|
|||||||
get_help_argument,
|
get_help_argument,
|
||||||
get_letter_timings,
|
get_letter_timings,
|
||||||
get_template,
|
get_template,
|
||||||
get_time_left,
|
|
||||||
parse_filter_args,
|
parse_filter_args,
|
||||||
set_status_filters,
|
set_status_filters,
|
||||||
user_has_permissions,
|
user_has_permissions,
|
||||||
@@ -135,13 +134,6 @@ def view_notification_updates(service_id, notification_id):
|
|||||||
|
|
||||||
def get_single_notification_partials(notification):
|
def get_single_notification_partials(notification):
|
||||||
return {
|
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(
|
'status': render_template(
|
||||||
'partials/notifications/status.html',
|
'partials/notifications/status.html',
|
||||||
notification=notification
|
notification=notification
|
||||||
|
|||||||
Reference in New Issue
Block a user