diff --git a/rowers/templates/embedded_video.html b/rowers/templates/embedded_video.html index 347db545..a865dae7 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 == analysis.workout.user.user and not locked %} + {% if user.is_authenticated and user == 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 == analysis.workout.user.user %} + {% if user.is_authenticated and user == workout.user.user %}
  • Lock Data and Video
  • @@ -294,7 +294,7 @@ // slider var slider = document.getElementById("myRange"); - {% if analysis and user.is_authenticated and user == analysis.workout.user.user %} + {% if user.is_authenticated and user == workout.user.user %} document.getElementById("myRange").style.display = "block"; {% else %} document.getElementById("myRange").style.display = "none";