Private
Public Access
1
0

Merge tag 'v1.91' into develop

bugfix for team managers
This commit is contained in:
Sander Roosendaal
2017-04-06 22:05:50 +02:00
2 changed files with 109 additions and 9 deletions

View File

@@ -128,7 +128,19 @@
{% endif %}
</div>
<div class="grid_1 tooltip">
{% if user.is_authenticated and user.rower.team.all %}
{% if user.is_authenticated and teams %}
<div class="grid_1 alpha dropdown">
<button class="grid_1 alpha button gray small dropbtn">
Teams
</button>
<div class="dropdown-content">
{% for t in teams %}
<a class="button gray small" href="/rowers/list-workouts/team/{{ t.id }}/">{{ t.name }}</a>
{% endfor %}
</div>
</div>
<span class="tooltiptext">See recent workouts for your team</span>
{% elif user.is_authenticated and user.rower.team.all %}
<div class="grid_1 alpha dropdown">
<button class="grid_1 alpha button gray small dropbtn">
Teams