diff --git a/rowers/templates/menu_workout.html b/rowers/templates/menu_workout.html index 01a2f1d8..5164c65f 100644 --- a/rowers/templates/menu_workout.html +++ b/rowers/templates/menu_workout.html @@ -49,6 +49,11 @@ --> {% if user.is_authenticated and workout|may_edit:request %} +
This is still experimental and there are known bugs. Use at your own risk. Nothing is stored permanently until you hit Save on the summary above. You can use the restore original button to restore the original values.
+ +This is a quick way to enter the intervals using a special mini-language.
diff --git a/rowers/views.py b/rowers/views.py index 0b761670..8a7d3440 100644 --- a/rowers/views.py +++ b/rowers/views.py @@ -11961,7 +11961,11 @@ def workout_summary_edit_view(request,id,message="",successmessage="" rowdata.updateintervaldata(ivalues,iunits,itypes,iresults=iresults) intervalstats = rowdata.allstats() row.summary = intervalstats - row.notes += "\n"+s + try: + row.notes += "\n"+s + except TypeError: + pass + row.save() rowdata.write_csv(f1,gzip=True) dataprep.update_strokedata(id,rowdata.df)