mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-07-10 11:24:10 -04:00
notify-admin-931 initial
This commit is contained in:
@@ -157,6 +157,7 @@ class HeaderNavigation(Navigation):
|
||||
"user_profile_mobile_number_delete",
|
||||
"user_profile_name",
|
||||
"user_profile_password",
|
||||
"user_profile_preferred_timezone",
|
||||
"user_profile_disable_platform_admin_view",
|
||||
},
|
||||
"platform-admin": {
|
||||
|
||||
@@ -64,6 +64,17 @@
|
||||
}}
|
||||
{% endcall %}
|
||||
|
||||
{% call row() %}
|
||||
{{ text_field('Preferred Timezone') }}
|
||||
{{ optional_text_field(current_user.preferred_timezone) }}
|
||||
{{ edit_field(
|
||||
'Change',
|
||||
url_for('.user_profile_preferred_timezone'),
|
||||
suffix='preferred timezone'
|
||||
)
|
||||
}}
|
||||
{% endcall %}
|
||||
|
||||
{% if current_user.platform_admin or session.get('disable_platform_admin_view') %}
|
||||
{% call row(id='disable-platform-admin') %}
|
||||
{{ text_field('Use platform admin view') }}
|
||||
|
||||
Reference in New Issue
Block a user