link to import and end fitness stat
This commit is contained in:
@@ -1578,7 +1578,7 @@ def performancemanager_view(request,userid=0,mode='rower',
|
||||
else:
|
||||
form = PerformanceManagerForm()
|
||||
|
||||
script, thediv = performance_chart(
|
||||
script, thediv, endfitness, endfatigue, endform = performance_chart(
|
||||
theuser,startdate=startdate,enddate=enddate,
|
||||
kfitness = kfitness,
|
||||
kfatigue = kfatigue,
|
||||
@@ -1602,6 +1602,9 @@ def performancemanager_view(request,userid=0,mode='rower',
|
||||
response = json.dumps({
|
||||
'script':script,
|
||||
'div':thediv,
|
||||
'endform':int(endform),
|
||||
'endfitness': int(endfitness),
|
||||
'endfatigue': int(endfatigue),
|
||||
})
|
||||
|
||||
return(HttpResponse(response,content_type='application/json'))
|
||||
@@ -1616,6 +1619,9 @@ def performancemanager_view(request,userid=0,mode='rower',
|
||||
'the_div':thediv,
|
||||
'mode':mode,
|
||||
'form':form,
|
||||
'endfitness':int(endfitness),
|
||||
'endfatigue':int(endfatigue),
|
||||
'endform':int(endform),
|
||||
})
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user