Files
notifications-admin/app/templates/views/manage-users/permissions.html
T

28 lines
782 B
HTML
Raw Normal View History

{% from "components/checkbox.html" import checkbox %}
2018-06-12 14:29:47 +01:00
{% from "components/radios.html" import radio, radios, radios_wrapper, conditional_radio_panel %}
2018-08-06 11:10:37 +01:00
<fieldset class="form-group">
2018-08-08 08:45:58 +01:00
<legend class="form-label">
2018-08-06 11:10:37 +01:00
Permissions
</legend>
2018-08-08 08:45:58 +01:00
{% for field in form.permissions_fields %}
{{ checkbox(field) }}
{% endfor %}
2018-08-06 11:10:37 +01:00
</fieldset>
2018-08-08 08:45:58 +01:00
<p class="bottom-gutter">
All team members can see sent messages.
</p>
{% if service_has_email_auth %}
{% if user_has_no_mobile_number %}
{{ radios(
form.login_authentication,
disable=['sms_auth'],
option_hints={'sms_auth': 'Not available because this team member hasnt added a phone&nbsp;number to their profile'|safe}
) }}
{% else %}
{{ radios(form.login_authentication) }}
{% endif %}
{% endif %}