diff --git a/pinaxcon/templates/symposion/teams/team_detail.html b/pinaxcon/templates/symposion/teams/team_detail.html new file mode 100644 index 0000000000000000000000000000000000000000..495535e2cc42e9abd83073f5797605ef625d1a9f --- /dev/null +++ b/pinaxcon/templates/symposion/teams/team_detail.html @@ -0,0 +1,99 @@ +{% extends "site_base.html" %} + +{% load bootstrap %} + +{% block head_title %}{{ team.name }}{% endblock %} + +{% block body_outer %} +
+ {% if can_join %} +
+ {% csrf_token %} + +
+ {% endif %} + + {% if can_leave %} +
+ {% csrf_token %} + +
+ {% endif %} + + {% if can_apply %} +
+ {% csrf_token %} + +
+ {% endif %} +
+ +

{{ team.name }}{% if state %} {{ state }}{% endif %}

+ + {% if team.description %}

{{ team.description }}

{% endif %} + + {% if state == "invited" %}

You have been invited to join this team. Click join to the right to accept.

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

Managers

+ + {% for membership in team.managers %} + + + + + {% endfor %} +
{{ 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.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.email }} +
{% csrf_token %}
+
{% csrf_token %}
+
+ {% endif %} + {% if team.invitees %} +

Invitees

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