Private
Public Access
1
0

added ranking piece only button

This commit is contained in:
Sander Roosendaal
2017-10-09 09:32:52 +02:00
parent e1c1bbee68
commit 5b5c5c68a9
3 changed files with 19 additions and 4 deletions

View File

@@ -17,9 +17,9 @@
<div class="grid_4 alpha">
{% if team %}
<form enctype="multipart/form-data" action="/rowers/list-workouts/team/{{ team.id }}/" method="post">
<form enctype="multipart/form-data" method="post">
{% else %}
<form enctype="multipart/form-data" action="/rowers/list-workouts/" method="post">
<form enctype="multipart/form-data" method="post">
{% endif %}
<table>
@@ -46,7 +46,7 @@
{% else %}
<h3>My Workouts</h3>
{% endif %}
{% if workouts %}
<table width="100%" class="listtable shortpadded">
<thead>
@@ -196,6 +196,16 @@
<div class="grid_5 alpha">
{% if rankingonly and not team %}
<div class="grid_2 prefix_1 alpha">
<a class="button small green" href="/rowers/list-workouts">All Workouts</a>
</div>
{% elif not team %}
<div class="grid_2 prefix_1 alpha">
<a class="button small green" href="/rowers/list-workouts/ranking">Ranking Pieces Only</a>
</div>
{% endif %}
<p>&nbsp;</p>
{% if team %}
<form id="searchform" action="/rowers/list-workouts/team/{{ team.id }}/{{ startdate|date:"Y-m-d" }}/{{ enddate|date:"Y-m-d" }}"
method="get" accept-charset="utf-8">