Private
Public Access
1
0

updated t&c,

This commit is contained in:
Sander Roosendaal
2019-02-16 11:08:41 +01:00
parent 6afde11b7c
commit 0d3763ebb3
8 changed files with 111 additions and 57 deletions

View File

@@ -1,12 +1,12 @@
{% extends "newbase.html" %}
{% block title %}Teams {% endblock %}
{% block title %}Groups {% endblock %}
{% block main %}
<ul class="main-content">
{% if teams %}
<li >
<h2>My Teams</h2>
<h2>My Groups</h2>
<table width="100%" class="listtable">
<thead>
<tr>
@@ -32,7 +32,7 @@
{% if otherteams %}
<li >
<h2>Other Teams</h2>
<h2>Open Groups</h2>
<table width="100%" class="listtable">
<thead>
<tr>
@@ -57,7 +57,7 @@
{% endif %}
<li >
<h2>Teams I manage</h2>
<h2>Groups I manage</h2>
{% if myteams %}
<table width="100%" class="listtable">
<thead>
@@ -82,23 +82,75 @@
{% endif %}
<a class="button green" href="/rowers/team/create/">New Team</a>
</li>
{% if coaches %}
<li>
<h2>My Coaches</h2>
<table width="100%" class="listtable">
<thead>
<tr>
<th>Coach</th>
</tr>
</thead>
<tbody>
{% for coach in coaches %}
<tr>
<td>
{{ coach.user.first_name }} {{ coach.user.last_name }}
</td>
<td>
<a class="button small red"
href="/rowers/coaches/{{ coach.id }}/dropconfirm/">Remove
</a>
</td>
</tr>
{% endfor %}
</tbody>
</table>
</li>
{% endif %}
{% if coachees %}
<li>
<h2>My Rowers</h2>
<table width="100%" class="listtable">
<thead>
<tr>
<th>Name</th>
</tr>
</thead>
<tbody>
{% for coachee in coachees %}
<tr>
<td>
{{ coachee.user.first_name }} {{ coachee.user.last_name }}
</td>
<td>
<a class="button small red"
href="/rowers/coaches/{{ coach.id }}/dropconfirm/">Remove
</a>
</td>
</tr>
{% endfor %}
</tbody>
</table>
</li>
{% endif %}
{% if invites or requests or myrequests or myinvites %}
<li class="grid_2">
<h2>Invitations and Requests</h2>
<p>This section lists open invites to join a team. By accepting
a team invite, you are agreeing with the sharing
of personal data between team members and coaches according to
<p>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 <a href="/rowers/legal/">privacy policy</a>.
</p>
<p>As a team manager, by accepting a team invite, you are agreeing
with our <a href="/rowers/legal/">privacy policy</a> regarding teams and
personal data owned by team members.</p>
<p>As a group manager, by accepting a group invite, you are agreeing
with our <a href="/rowers/legal/">privacy policy</a> regarding groups and
personal data owned by group members.</p>
<table width="90%" class="listtable">
<thead>
<tr>
<th>Team</th>
<th>Group</th>
<th>Manager</th>
<th>User</th>
<th>Action</th>