Private
Public Access
1
0

team stats page

This commit is contained in:
Sander Roosendaal
2017-05-15 20:22:15 +02:00
parent 1530cdaa61
commit a3e61ec215
9 changed files with 143 additions and 63 deletions

View File

@@ -14,7 +14,7 @@
<a class="button gray small" href="/rowers/team/{{ teamid }}/">Team Page</a>
</p>
</div>
<div class="grid_2 omega">
<div class="grid_2">
{% if user|is_manager and user|has_teams %}
<p>
<a class="button gray small" href="/rowers/workout/upload/team/">Upload Workout</a>
@@ -23,3 +23,14 @@
<p>&nbsp;</p>
{% endif %}
</div>
<div class="grid_2 omega">
{% if team and team.manager == user %}
<p>
<a class="button gray small" href="/rowers/team/{{ teamid }}/memberstats">
Team Stats
</a>
</p>
{% else %}
&nbsp;
{% endif %}
</div>