Merge branch 'release/v10.60'
This commit is contained in:
@@ -70,7 +70,7 @@
|
||||
{% language 'en' %}
|
||||
<h1>Video Analysis for {{ workout.name }}</h1>
|
||||
<ul class="main-content">
|
||||
{% 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 %}
|
||||
<li class="grid_4">
|
||||
<p>Paste link to you tube video below</p>
|
||||
<p>Use the slider to locate start point for video on workout map</p>
|
||||
@@ -218,7 +218,7 @@
|
||||
|
||||
</script>
|
||||
</li>
|
||||
{% if analysis and user.is_authenticated and user == rower.user %}
|
||||
{% if analysis and user.is_authenticated and user == analysis.workout.user.user %}
|
||||
<li class="grid_4">
|
||||
<input type="checkbox" name="lock" id="lock" value="Lock">Lock Data and Video
|
||||
</li>
|
||||
@@ -273,7 +273,7 @@
|
||||
<input type="hidden" id="id_delay" value="{{ analysis.delay }}">
|
||||
{% endif %}
|
||||
<li>
|
||||
{% if analysis and user.is_authenticated and user == rower.user %}
|
||||
{% if analysis and user.is_authenticated and user == analysis.workout.user.user %}
|
||||
<p>
|
||||
<a href="/rowers/video/{{ analysis.id }}/delete/">Delete Analysis</a>
|
||||
</p>
|
||||
|
||||
Reference in New Issue
Block a user