diff --git a/rowers/templates/team.html b/rowers/templates/team.html index 2d992033..22a363fd 100644 --- a/rowers/templates/team.html +++ b/rowers/templates/team.html @@ -1,81 +1,56 @@ -{% extends "base.html" %} +{% extends "newbase.html" %} {% block title %}Team {% endblock %} -{% block content %} -
{{ team.notes }}
Manager: {{ team.manager.first_name }} {{ team.manager.last_name }}
--
You have requested access to this team
- {% else %} -You can request access to this team. By requesting access, you - agree to the Privacy Policy regarding - team functionality. You agree to share your workout data (except - workouts marked as "private") to all team members and the team manager. - You also grant the team manager access to your heart rate and power - zone settings, as well as your functional threshold information. You - are granting the team manager permission to edit your workouts.
-You have requested access to this team
+ {% elif team not in myteams %} +You can request access to this team. By requesting access, you + agree to the Privacy Policy regarding + team functionality. You agree to share your workout data (except + workouts marked as "private") to all team members and the team manager. + You also grant the team manager access to your heart rate and power + zone settings, as well as your functional threshold information. You + are granting the team manager permission to edit your workouts.
Join A request will be sent to the team manager - --
| Name | -- | |
|---|---|---|
| {{ member.user.first_name }} {{ member.user.last_name }} | - {% if team.manager == user %} -Drop | - {% else %} -- {% endif %} - |
| Name | ++ | |
|---|---|---|
| {{ member.user.first_name }} {{ member.user.last_name }} | + {% if team.manager == user %} +Drop | + {% else %} ++ {% endif %} + |
Use the form to add a new user. You can either select a user from the list of your existing club members who are not on this team yet, or you can type the user's email address, which also works for users who have not registered to the site yet.
{% if inviteform.errors %} @@ -88,19 +63,19 @@ {{ inviteform.as_table }} {% csrf_token %} - + {% else %}{% endif %} -
- Please correct the error{{ form.errors|pluralize }} below. -
++ Please correct the error{{ form.errors|pluralize }} below. +
{% endif %} - -This will remove the team. Your team members and their workouts will not be deleted.
+ + ++ Cancel +
- -- Cancel -
- Delete -
-- -
- -+ Delete +
+ + {% endblock %} + +{% block sidebar %} +{% include 'menu_teams.html' %} +{% endblock %} diff --git a/rowers/templates/teamedit.html b/rowers/templates/teamedit.html index b8ea6366..0f5b065a 100644 --- a/rowers/templates/teamedit.html +++ b/rowers/templates/teamedit.html @@ -1,37 +1,42 @@ -{% extends "base.html" %} +{% extends "newbase.html" %} {% load staticfiles %} -{% block title %}New Team{% endblock %} +{% block title %}Edit Team{% endblock %} -{% block content %} -- Please correct the error{{ form.errors|pluralize }} below. -
++ Please correct the error{{ form.errors|pluralize }} below. +
{% endif %} - -This will remove you and all your workouts from the team. If this is a closed team, you can only return when the team manager reinvites you. If this is an open team, you can return by applying for team membership.
+ + ++ Cancel +
++ Leave +
+- Cancel -
- Leave -
-- -
- -- Links to the cumulative statistics pages for your team's members -
-| {{ u.first_name }} {{ u.last_name }} | -Ranking Pieces | -Stroke Analysis | -Power Histogram | -Stats | -Box Chart | -OTW Ranking Pieces | -Trend Flex | -
+ Links to the cumulative statistics pages for your team's members +
+| {{ u.first_name }} {{ u.last_name }} | +Ranking Pieces | +Stroke Analysis | +Power Histogram | +Stats | +Box Chart | +OTW Ranking Pieces | +Trend Flex | +