Private
Public Access
1
0

water boattype permanent in cumflex

This commit is contained in:
Sander Roosendaal
2017-08-10 14:47:24 +02:00
parent 93cb755ba5
commit 66e0ba8a47

View File

@@ -2107,10 +2107,13 @@ def cum_flex(request,theuser=0,
workouttypes = options['workouttypes']
includereststrokes = options['includereststrokes']
waterboattype = options['waterboattype']
workstrokesonly = not includereststrokes
checktypes = ['water','rower','dynamic','slides','skierg',
'paddle','snow','coastal','other']
waterboattype = ['1x','2x','2-','4x','4-','8+']
if deltadays>0:
startdate = enddate-datetime.timedelta(days=int(deltadays))
@@ -2182,7 +2185,8 @@ def cum_flex(request,theuser=0,
for type in checktypes:
if optionsform.cleaned_data[type]:
workouttypes.append(type)
options = {
'includereststrokes':includereststrokes,
'workouttypes':workouttypes,