diff --git a/rowers/templates/embedded_video.html b/rowers/templates/embedded_video.html index 1eb31c55..5ccf7760 100644 --- a/rowers/templates/embedded_video.html +++ b/rowers/templates/embedded_video.html @@ -70,7 +70,7 @@ {% language 'en' %}

Video Analysis for {{ workout.name }}

    - {% if analysis and user.is_authenticated and user == rower.user and not locked %} + {% if analysis and user.is_authenticated and user == analysis.workout.user.user and not locked %}
  • Paste link to you tube video below

    Use the slider to locate start point for video on workout map

    @@ -218,7 +218,7 @@
  • - {% if analysis and user.is_authenticated and user == rower.user %} + {% if analysis and user.is_authenticated and user == analysis.workout.user.user %}
  • Lock Data and Video
  • @@ -273,7 +273,7 @@ {% endif %}
  • - {% if analysis and user.is_authenticated and user == rower.user %} + {% if analysis and user.is_authenticated and user == analysis.workout.user.user %}

    Delete Analysis