{% extends "site_base.html" %} {% load bootstrap %} {% block head_title %}{{ team.name }}{% endblock %} {% block content %}

{{ team.name }}

{% if team.description %}

{{ team.description }}

{% endif %}

Your Status {% if state %} {{ state }}{% endif %}

{% if state == "invited" %}

You have been invited to join this team.

{% csrf_token %}

{% endif %} {% if can_join %}

You are not a member of this team.

{% csrf_token %}

{% endif %} {% if can_leave %}

You are a member of this team.

{% csrf_token %}

{% endif %} {% if can_apply %}

You are not a member of this team.

{% csrf_token %}

{% endif %}
{% if user.is_staff or state == "manager" %} {% if team.managers %}

Managers

{% for membership in team.managers %} {% endfor %}
{{ membership.user.get_full_name }} <{{ membership.user.email }}>{% if user == membership.user %} you{% endif %}
{% csrf_token %}
{% endif %} {% if team.members %}

Team Members

{% for membership in team.members %} {% endfor %}
{{ membership.user.get_full_name }} <{{ membership.user.email }}>{% if user == membership.user %} you{% endif %}
{% csrf_token %}
{% endif %} {% if team.applicants and team.access == "application" %}

Applicants

{% for membership in team.applicants %} {% endfor %}
{{ membership.user.get_full_name }} <{{ membership.user.email }}>
{% csrf_token %}
{% csrf_token %}
{% endif %} {% if team.invitees %}

Invitees

{% for membership in team.invitees %} {% endfor %}
{{ membership.user.get_full_name }} <{{ membership.user.email }}>
{% endif %} {% if invite_form %}
{% csrf_token %} Invite User to Team {{ invite_form|bootstrap_horizontal }}
{% endif %} {% endif %}
{% endblock %}