Private
Public Access
1
0

navigation for coach view

This commit is contained in:
Sander Roosendaal
2018-02-11 14:23:33 +01:00
parent 8884e2f7b1
commit c185d680c6
4 changed files with 81 additions and 4 deletions

View File

@@ -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 %}
&nbsp;
{% 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 %}
&nbsp;