mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-24 16:24:08 -04:00
Use yes/no formatter in more places
This commit is contained in:
@@ -84,7 +84,7 @@
|
||||
{% if current_user.platform_admin or session.get('disable_platform_admin_view') %}
|
||||
{% call row(id='disable-platform-admin') %}
|
||||
{{ text_field('Use platform admin view') }}
|
||||
{{ text_field('Yes' if not session.get('disable_platform_admin_view') else 'No') }}
|
||||
{{ text_field((not session.get('disable_platform_admin_view'))|format_yes_no) }}
|
||||
{{ edit_field(
|
||||
'Change',
|
||||
url_for('.user_profile_disable_platform_admin_view'),
|
||||
|
||||
Reference in New Issue
Block a user