{% extends "withnav_template.html" %} {% from "components/tick-cross.html" import tick_cross %} {% from "components/live-search.html" import live_search %} {% from "components/components/button/macro.njk" import usaButton %} {% block service_page_title %} Team members {% endblock %} {% block serviceNavigation %}{% endblock %} {% block sideNavigation %} {% include "components/settings_nav.html" %} {% endblock %} {% block maincolumn_content %}
{% if show_search_box %}{% set folder_count = user.template_folders_for_service(current_service) | length %} {% if folder_count == 0 %} Cannot see any folders {% elif folder_count != current_service.all_template_folders | length %} Can see {{ folder_count }} folder{% if folder_count > 1 %}s{% endif %} {% else %} Can see all folders {% endif%}
{% endif %} {% if current_service.has_permission('email_auth') %}Signs in with {{ user.auth_type | format_auth_type(with_indefinite_article=True) }}
{% endif %} {% if current_service.has_permission('email_auth') %}Signs in with {{ user.auth_type | format_auth_type(with_indefinite_article=True) }}
{% endif %} {% if current_user.has_permissions('manage_service') %} {% if user.status == 'pending' or user.status == 'expired' %} Cancel invitation for {{ user.email_address }} {% endif %} {% if user.status == 'expired' %} Resend invite for {{ user.email_address }} {% elif user.is_editable_by(current_user) %} Change details for {{ user.name }} {{ user.email_address }} {% endif %} {% endif %}