diff --git a/logos/bcsquare.png b/logos/bcsquare.png new file mode 100644 index 00000000..547f4488 Binary files /dev/null and b/logos/bcsquare.png differ diff --git a/logos/boatcoachlogo.xcf b/logos/boatcoachlogo.xcf new file mode 100644 index 00000000..52f41b8a Binary files /dev/null and b/logos/boatcoachlogo.xcf differ diff --git a/rowers/templates/compatibility.html b/rowers/templates/compatibility.html index 0d47a17b..6dc792cb 100644 --- a/rowers/templates/compatibility.html +++ b/rowers/templates/compatibility.html @@ -16,13 +16,14 @@
  • CrewNerd (TCX)
  • Rowing In Motion (TCX)
  • Speedcoach XL (CSV)
  • -
  • Speedcoach GPS (FIT)
  • +
  • Speedcoach GPS (FIT and CSV)
  • Erg

    @@ -35,7 +36,7 @@

    Export Compatibility

    diff --git a/rowers/templates/frontpage.html b/rowers/templates/frontpage.html index 61e08861..1532f44d 100644 --- a/rowers/templates/frontpage.html +++ b/rowers/templates/frontpage.html @@ -22,8 +22,9 @@ RiM icon RowPro icon ErgStick icon + BoatCoach icon PainSled icon

    -{% endblock %} \ No newline at end of file +{% endblock %} diff --git a/rowers/views.py b/rowers/views.py index 4c2d1c34..09601c50 100644 --- a/rowers/views.py +++ b/rowers/views.py @@ -3686,7 +3686,15 @@ def workout_getc2workout_view(request,c2id): res = c2stuff.get_c2_workout(request.user,c2id) if (res.status_code == 200): data = res.json()['data'] - res2 = c2stuff.get_c2_workout_strokes(request.user,c2id) + if data['stroke_data']: + res2 = c2stuff.get_c2_workout_strokes(request.user,c2id) + else: + message = "This workout does not have any stroke data associated with it" + url = reverse(workout_c2import_view, + kwargs={ + 'message':message, + }) + return HttpResponseRedirect(url) if res2.status_code == 200: strokedata = pd.DataFrame.from_dict(res2.json()['data']) diff --git a/static/img/bcsquare.png b/static/img/bcsquare.png new file mode 100644 index 00000000..163cef9b Binary files /dev/null and b/static/img/bcsquare.png differ