mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-07-09 02:44:10 -04:00
* Updated header and footer * Updated fonts * Moved files around and updated gulpfile to correct the build process when it goes to production * Adjusted grid templating * Added images to assets * Update app/templates/components/uk_components/footer/template.njk Co-authored-by: Steven Reilly <stvnrlly@users.noreply.github.com>
28 lines
845 B
HTML
28 lines
845 B
HTML
{% from "components/radios.html" import radio, radios, conditional_radio_panel %}
|
|
|
|
{{ form.permissions_field }}
|
|
|
|
{% if form.folder_permissions.all_template_folders %}
|
|
{{ form.folder_permissions }}
|
|
{% elif user and user.platform_admin %}
|
|
<p class="bottom-gutter govuk-body">
|
|
Platform admin users can access all template folders.
|
|
</p>
|
|
{% endif %}
|
|
|
|
{% if service_has_email_auth %}
|
|
{% if user.webauthn_auth %}
|
|
<p class="bottom-gutter govuk-body">
|
|
This user will login with a security key.
|
|
</p>
|
|
{% elif not mobile_number %}
|
|
{{ radios(
|
|
form.login_authentication,
|
|
disable=['sms_auth'],
|
|
option_hints={'sms_auth': 'Not available because this team member has not added a phone number to their profile'|safe}
|
|
) }}
|
|
{% else %}
|
|
{{ radios(form.login_authentication) }}
|
|
{% endif %}
|
|
{% endif %}
|