{% extends "common/base.html" %} {% load static %} {% block title %} User Projects and Managers{% if not user == viewed_user %}: {{ viewed_user.username }}{% endif %} {% endblock %} {% block content %}
{{ user_pronounish }} {{user_verbform_be}} not part of any projects.
{% else %} {% for association in user_project_associations %} {% with association.project as project %}User role in project: {{ association.role }}
{% endif %} {# a few Pending statuses may be displayed here #}User status in project: {% if association.status.name == 'Active' %} {{ association.status.name }} {% else %} {{ association.status.name }} {% endif %}
Description: {{ project.description }}
Field of Science: {{ project.field_of_science }}
Project Status: {{ project.status }}
Principal Investigator: {{ project.pi.first_name }} {{ project.pi.last_name }} ({{ project.pi.username }}) Email {% if association.is_project_pi %} ({{ user_pronounish | lower }} {{user_verbform_be}} the project PI) {% endif %}
{# card within a card #}{{ user_pronounish }} {{user_verbform_be}} a manager of this project.