From df95b9593add714f097cda9d4c34d8c0d087e2d9 Mon Sep 17 00:00:00 2001 From: Sander Roosendaal Date: Tue, 26 Nov 2019 20:43:43 +0100 Subject: [PATCH] further bug fixes --- rowers/templates/embedded_video.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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";