mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-09-05 14:48:25 -04:00
Merge pull request #3535 from alphagov/try-introducing-govuk-checkboxes-again
Try introducing govuk checkboxes again
This commit is contained in:
@@ -168,9 +168,11 @@ def platform_admin_services():
|
||||
# Default to True if the user hasn’t done any filtering,
|
||||
# otherwise respect their choice
|
||||
form.include_from_test_key.data = True
|
||||
|
||||
include_from_test_key = form.include_from_test_key.data
|
||||
api_args = {'detailed': True,
|
||||
'only_active': False, # specifically DO get inactive services
|
||||
'include_from_test_key': form.include_from_test_key.data,
|
||||
'include_from_test_key': include_from_test_key,
|
||||
}
|
||||
|
||||
if form.start_date.data:
|
||||
@@ -184,7 +186,7 @@ def platform_admin_services():
|
||||
|
||||
return render_template(
|
||||
'views/platform-admin/services.html',
|
||||
include_from_test_key=form.include_from_test_key.data,
|
||||
include_from_test_key=include_from_test_key,
|
||||
form=form,
|
||||
services=list(format_stats_by_service(services)),
|
||||
page_title='{} services'.format(
|
||||
|
||||
Reference in New Issue
Block a user