linking back to plan
This commit is contained in:
@@ -1,14 +1,18 @@
|
||||
{% load rowerfilters %}
|
||||
<div class="grid_2 alpha">
|
||||
<p>
|
||||
{% if timeperiod and rower %}
|
||||
<a class="button gray small" href="/rowers/sessions/{{ timeperiod }}/rower/{{ rower.id }}">Plan Overview</a>
|
||||
{% elif timeperiod %}
|
||||
<a class="button gray small" href="/rowers/sessions/{{ timeperiod }}">Plan Overview</a>
|
||||
{% else %}
|
||||
<a class="button gray small" href="/rowers/sessions">Plan Overview</a>
|
||||
{% endif %}
|
||||
</p>
|
||||
<div class="grid_2 dropdown alpha">
|
||||
<button class="grid_2 alpha button gray small dropbtn">Overview</button>
|
||||
<div class="dropdown-content">
|
||||
{% if timeperiod and rower %}
|
||||
<a class="button gray small" href="/rowers/sessions/{{ timeperiod }}/rower/{{ rower.id }}">Sessions Overview</a>
|
||||
{% elif timeperiod %}
|
||||
<a class="button gray small" href="/rowers/sessions/{{ timeperiod }}">Sessions Overview</a>
|
||||
{% else %}
|
||||
<a class="button gray small" href="/rowers/sessions">Sessions Overview</a>
|
||||
{% endif %}
|
||||
<a class="button gray small" href="/rowers/plan/{{ plan.id }}">Plan Overview</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="grid_2">
|
||||
<p>
|
||||
|
||||
Reference in New Issue
Block a user