rower switcher on stats pages
This commit is contained in:
@@ -35,11 +35,28 @@
|
||||
|
||||
|
||||
<div class="grid_12 alpha">
|
||||
<h1>Workout Statistics</h1>
|
||||
<p>
|
||||
This is an experimental page which just lists a bunch of statistics for
|
||||
your workouts. This page is under rapid development.
|
||||
</p>
|
||||
<div class="grid_4 alpha">
|
||||
{% if theuser %}
|
||||
<h3>{{ theuser.first_name }}'s Workout Statistics</h3>
|
||||
{% else %}
|
||||
<h3>{{ user.first_name }}'s Workout Statistics</h3>
|
||||
{% endif %}
|
||||
</div>
|
||||
<div class="grid_2 suffix_6 omega">
|
||||
{% if user.is_authenticated and user|is_manager %}
|
||||
<div class="grid_2 alpha dropdown">
|
||||
<button class="grid_2 alpha button green small dropbtn">
|
||||
Change Rower
|
||||
</button>
|
||||
<div class="dropdown-content">
|
||||
{% for member in user|team_members %}
|
||||
<a class="button green small" href="/rowers/{{ member.id }}/cumstats/{{ startdate|date:"Y-m-d" }}/{{ enddate|date:"Y-m-d" }}/p/{{ plotfield }}">{{ member.first_name }} {{ member.last_name }}</a>
|
||||
{% endfor %}
|
||||
</div>
|
||||
{% else %}
|
||||
|
||||
{% endif %}
|
||||
</div>
|
||||
</div>
|
||||
<div class="grid_12 alpha">
|
||||
<div id="summary" class="grid_6 alpha">
|
||||
|
||||
Reference in New Issue
Block a user