Private
Public Access
1
0

Merge branch 'hotfix/v8.37'

This commit is contained in:
Sander Roosendaal
2018-10-31 07:50:26 +01:00
2 changed files with 5 additions and 3 deletions

View File

@@ -17091,9 +17091,11 @@ def planmesocyclebyweek(request,id=0,userid=0):
#we're still here. We have permission
sundays = [s for s in allsundays(cycle.startdate,cycle.enddate)]
if sundays[-1] < cycle.enddate:
if sundays and sundays[-1] < cycle.enddate:
sundays = sundays+[cycle.enddate]
else:
sundays = [cycle.enddate]
for i in range(len(sundays)):
if i==0:
monday = cycle.startdate

View File

@@ -155,7 +155,7 @@
{% elif user.rower.rowerplan == 'coach' %}
<i class="fas fa-users "></i>
{% elif user.rower.rowerplan == 'plan' %}
<i class="fas fa-user-tie "></i>
<i class="fas fa-user-chart "></i>
{% else %}
<a href="/rowers/me/edit" title="Profile">
<i class="fas fa-user"></i>