fix #605
This commit is contained in:
@@ -2255,6 +2255,7 @@ def new_workout_from_df(r, df,
|
|||||||
boattype = parent.boattype
|
boattype = parent.boattype
|
||||||
notes = parent.notes
|
notes = parent.notes
|
||||||
summary = parent.summary
|
summary = parent.summary
|
||||||
|
rpe = parent.rpe
|
||||||
if parent.privacy == 'hidden':
|
if parent.privacy == 'hidden':
|
||||||
makeprivate = True
|
makeprivate = True
|
||||||
else:
|
else:
|
||||||
@@ -2267,6 +2268,7 @@ def new_workout_from_df(r, df,
|
|||||||
notes = ''
|
notes = ''
|
||||||
summary = ''
|
summary = ''
|
||||||
makeprivate = False
|
makeprivate = False
|
||||||
|
rpe = 0
|
||||||
if startdatetime == '':
|
if startdatetime == '':
|
||||||
startdatetime = timezone.now()
|
startdatetime = timezone.now()
|
||||||
|
|
||||||
@@ -2305,6 +2307,7 @@ def new_workout_from_df(r, df,
|
|||||||
inboard=inboard,
|
inboard=inboard,
|
||||||
makeprivate=makeprivate,
|
makeprivate=makeprivate,
|
||||||
dosmooth=False,
|
dosmooth=False,
|
||||||
|
rpe=rpe,
|
||||||
consistencychecks=False)
|
consistencychecks=False)
|
||||||
|
|
||||||
job = myqueue(queuehigh,handle_calctrimp,id,csvfilename,r.ftp,r.sex,r.hrftp,r.max,r.rest)
|
job = myqueue(queuehigh,handle_calctrimp,id,csvfilename,r.ftp,r.sex,r.hrftp,r.max,r.rest)
|
||||||
|
|||||||
@@ -17,7 +17,7 @@
|
|||||||
{{ form.as_table }}
|
{{ form.as_table }}
|
||||||
</table>
|
</table>
|
||||||
{% csrf_token %}
|
{% csrf_token %}
|
||||||
<input class="button green" type="submit" value="Split">
|
<input class="button" type="submit" value="Split">
|
||||||
</form>
|
</form>
|
||||||
</p>
|
</p>
|
||||||
</li>
|
</li>
|
||||||
|
|||||||
Reference in New Issue
Block a user