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