mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-09-11 02:23:19 -04:00
Merge pull request #3383 from alphagov/drop-ajax-notifications-page
Drop frequency of AJAX updates on notifications page
This commit is contained in:
@@ -31,7 +31,8 @@
|
|||||||
{{ ajax_block(
|
{{ ajax_block(
|
||||||
partials,
|
partials,
|
||||||
url_for('.get_notifications_as_json', service_id=current_service.id, message_type=message_type, status=status),
|
url_for('.get_notifications_as_json', service_id=current_service.id, message_type=message_type, status=status),
|
||||||
'counts'
|
'counts',
|
||||||
|
interval=20
|
||||||
) }}
|
) }}
|
||||||
|
|
||||||
{% call form_wrapper(
|
{% call form_wrapper(
|
||||||
@@ -82,7 +83,8 @@
|
|||||||
partials,
|
partials,
|
||||||
url_for('.get_notifications_as_json', service_id=current_service.id, message_type=message_type, status=status, page=page),
|
url_for('.get_notifications_as_json', service_id=current_service.id, message_type=message_type, status=status, page=page),
|
||||||
'notifications',
|
'notifications',
|
||||||
form='search-form'
|
form='search-form',
|
||||||
|
interval=20
|
||||||
) }}
|
) }}
|
||||||
|
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|||||||
Reference in New Issue
Block a user