Access expiration: {{ user.access_expiration|default_if_none:"Access never expires" }}
Projects
{% if user.projects %}
{% if user.active_projects %}
Active:
{% for project in user.active_projects %}
{{ project.display_with_pis|safe }}
{% endfor %}
{% endif %}
{% if user.inactive_projects %}
Inactive:
{% for project in user.inactive_projects %}
{{ project.display_with_pis|safe }}
{% endfor %}
{% endif %}
{% endif %}
{% if not user.projects %}
You do not have any projects.
{% endif %}
Tool Qualifications
{% if user.qualifications.exists %}
{% for tool_qualification in user.qualifications.all %}
{{ tool_qualification }}
{% endfor %}
{% else %}
You are not qualified for any tools.
{% endif %}
{% if user.primary_tool_owner.all or user.backup_for_tools.all or user.superuser_for_tools.all or user.staff_for_tools.all or user.adjustment_request_reviewer_on_tools.all %}
Tool responsibilities
{% if user.primary_tool_owner.all %}
Primary owner:
{% for tool in user.primary_tool_owner.all %}
{{ tool }}
{% endfor %}
{% endif %}
{% if user.backup_for_tools.all %}
Backup owner:
{% for tool in user.backup_for_tools.all %}
{{ tool }}
{% endfor %}
{% endif %}
{% if user.staff_for_tools.all %}
Staff:
{% for tool in user.staff_for_tools.all %}
{{ tool }}
{% endfor %}
{% endif %}
{% if user.superuser_for_tools.all %}
Superuser:
{% for tool in user.superuser_for_tools.all %}
{{ tool }}
{% endfor %}
{% endif %}
{% if user.adjustment_request_reviewer_on_tools.all %}
Adjustment request reviewer:
{% for tool in user.adjustment_request_reviewer_on_tools.all %}
{{ tool }}
{% endfor %}
{% endif %}
{% endif %}
{% if user.accessible_access_levels.all %}
Physical access levels
{% for physical_access in user.accessible_access_levels.all %}
{{ physical_access }}
{% endfor %}
{% endif %}
{% if user.managed_users.all or user.supervisors.all or user.managed_projects.all or user.managed_accounts.all %}
Management
{% if user.managed_accounts.all %}
Managed accounts:
{% for managed_account in user.managed_accounts.all %}
{{ managed_account.name }}
{% endfor %}
{% endif %}
{% if user.managed_projects.all %}
Managed projects:
{% for managed_project in user.managed_projects.all %}
{{ managed_project.name }}
{% endfor %}
{% endif %}
{% if user.managed_users.all %}
Managed users:
{% for managed_user in user.managed_users.all %}
{{ managed_user.get_name }}
{% endfor %}
{% endif %}
{% if user.supervisors.all %}
Supervisors:
{% for supervisor in user.supervisors.all %}
{{ supervisor.get_name }}
{% endfor %}
{% endif %}
{% endif %}
{% if user.is_any_part_of_staff and user.groups.exists %}