{% extends "newbase.html" %} {% block title %}Groups {% endblock %} {% block main %}
    {% if teams %}
  • My Groups

    {% for team in teams %} {% endfor %}
    Name  
    {{ team.name }} Leave
  • {% endif %} {% if otherteams %}
  • Open Groups

    {% for team in otherteams %} {% endfor %}
    Name Manager
    {{ team.name }} {{ team.manager.first_name }} {{ team.manager.last_name }}
  • {% endif %}
  • Groups I manage

    {% if myteams %} {% for team in myteams %} {% endfor %}
    Name  
    {{ team.name }} Delete
    {% endif %} Create New Training Group
  • {% if coaches %}
  • My Coaches

    {% for coach in coaches %} {% endfor %}
    Coach
    {{ coach.user.first_name }} {{ coach.user.last_name }} Remove
  • {% endif %} {% if coachees %}
  • My Rowers

    {% for coachee in coachees %} {% endfor %}
    Name
    {{ coachee.user.first_name }} {{ coachee.user.last_name }} Remove
  • {% endif %} {% if invites or requests or myrequests or myinvites %}
  • Group Invitations and Requests

    This section lists open invites to join a group. By accepting a group invite, you are agreeing with the sharing of personal data between group members and coaches according to our privacy policy.

    As a group manager, by accepting a group invite, you are agreeing with our privacy policy regarding groups and personal data owned by group members.

    {% for i in invites %} {% endfor %} {% for i in requests %} {% endfor %} {% for i in myrequests %} {% endfor %} {% for i in myinvites %} {% if i.user %} {% else %} {% endif %} {% endfor %}
    Group Manager User Action  
    {{ i.team.name }} {{ i.team.manager.first_name }} {{ i.team.manager.last_name }} {{ user.first_name }} {{ user.last_name }} Accept Reject
    {{ i.team.name }} {{ i.team.manager.first_name }} {{ i.team.manager.last_name }} {{ user.first_name }} {{ user.last_name }} Revoke
    {{ i.team.name }} {{ i.team.manager.first_name }} {{ i.team.manager.last_name }} {{ i.user.first_name }} {{ i.user.last_name }} Accept Reject
    {{ i.team.name }} {{ i.team.manager.first_name }} {{ i.team.manager.last_name }}{{ i.user.first_name }} {{ i.user.last_name }}{{ i.email }}  Revoke

    Manual code redeem

    {% if form.errors %}

    Please correct the error{{ form.errors|pluralize }} below.

    {% endif %} {% csrf_token %} {{ form.as_table }}
    {% endif %} {% if mycoachrequests or mycoachoffers or coachoffers or coachrequests %}
  • Coaching Offers and Requests

    This section lists open offers and requests related to coaching. By accepting a coaching offer, the coach can run analysis, add workouts and edit settings on behalf of the athlete. You agree to the sharing of personal data between athletes and coaches according to our privacy policy.

    {% for i in coachrequests %} {% endfor %} {% for i in mycoachoffers %} {% endfor %} {% for i in mycoachrequests %} {% endfor %} {% for i in coachoffers %} {% endfor %}
    Coach User E-mail Action  
    {{ i.coach.user.first_name }} {{ i.coach.user.last_name }} {{ i.user.first_name }} {{ i.user.last_name }} {{ i.user.email }} Accept Reject
    {{ i.coach.user.first_name }} {{ i.coach.user.last_name }} {{ i.user.first_name }} {{ i.user.last_name }}   Revoke
    {{ i.coach.user.first_name }} {{ i.coach.user.last_name }} {{ i.user.first_name }} {{ i.user.last_name }}   Revoke
    {{ i.coach.user.first_name }} {{ i.coach.user.last_name }} {{ i.user.first_name }} {{ i.user.last_name }} Accept Reject
    {% endif %}
  • {% if potentialathletes %}
  • Rowers you could coach

    {% for a in potentialathletes %} {% endfor %}
    User Action
    {{ a.user.first_name }} {{ a.user.last_name }} Offer Coaching
  • {% endif %} {% if potentialcoaches %}
  • Coaches who could coach you

    {% for c in potentialcoaches %} {% endfor %}
    User Action
    {{ c.first_name }} {{ c.last_name }} Request Coaching
  • {% endif %}
{% endblock %} {% block sidebar %} {% include 'menu_teams.html' %} {% endblock %}