added ranking piece only button
This commit is contained in:
@@ -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> </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">
|
||||
|
||||
Reference in New Issue
Block a user