Private
Public Access
1
0

Merge branch 'release/v10.63'

This commit is contained in:
Sander Roosendaal
2019-11-26 20:43:57 +01:00

View File

@@ -70,7 +70,7 @@
{% language 'en' %} {% language 'en' %}
<h1>Video Analysis for {{ workout.name }}</h1> <h1>Video Analysis for {{ workout.name }}</h1>
<ul class="main-content"> <ul class="main-content">
{% 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 %}
<li class="grid_4"> <li class="grid_4">
<p>Paste link to you tube video below</p> <p>Paste link to you tube video below</p>
<p>Use the slider to locate start point for video on workout map</p> <p>Use the slider to locate start point for video on workout map</p>
@@ -218,7 +218,7 @@
</script> </script>
</li> </li>
{% if analysis and user.is_authenticated and user == analysis.workout.user.user %} {% if user.is_authenticated and user == workout.user.user %}
<li class="grid_4"> <li class="grid_4">
<input type="checkbox" name="lock" id="lock" value="Lock">Lock Data and Video <input type="checkbox" name="lock" id="lock" value="Lock">Lock Data and Video
</li> </li>
@@ -294,7 +294,7 @@
// slider // slider
var slider = document.getElementById("myRange"); 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"; document.getElementById("myRange").style.display = "block";
{% else %} {% else %}
document.getElementById("myRange").style.display = "none"; document.getElementById("myRange").style.display = "none";