navigation for coach view
This commit is contained in:
@@ -32,12 +32,23 @@
|
||||
{% endif %}
|
||||
</p>
|
||||
</div>
|
||||
<div class="grid_2 omega">
|
||||
<div class="grid_2">
|
||||
{% if user.is_authenticated and user|is_manager %}
|
||||
{% if timeperiod %}
|
||||
<a class="button gray small" href="/rowers/sessions/teamcreate/{{ timeperiod }}">Add Team Session</a>
|
||||
{% else %}
|
||||
<a class="button gray small" href="/rowers/session/teamcreate">Add Team Session</a>
|
||||
<a class="button gray small" href="/rowers/sessions/teamcreate">Add Team Session</a>
|
||||
{% endif %}
|
||||
{% else %}
|
||||
|
||||
{% endif %}
|
||||
</div>
|
||||
<div class="grid_2 omega">
|
||||
{% if user.is_authenticated and user|is_manager %}
|
||||
{% if timeperiod %}
|
||||
<a class="button gray small" href="/rowers/sessions/coach/{{ timeperiod }}">Coach Overview</a>
|
||||
{% else %}
|
||||
<a class="button gray small" href="/rowers/sessions/coach">Coach Overview</a>
|
||||
{% endif %}
|
||||
{% else %}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user