Private
Public Access
1
0

authorization improvement

This commit is contained in:
Sander Roosendaal
2019-11-26 17:27:34 +01:00
parent befec12c27
commit 358f5a8ac8

View File

@@ -294,7 +294,7 @@
// slider
var slider = document.getElementById("myRange");
{% if analysis and user.is_authenticated and user == rower.user %}
{% if analysis and user.is_authenticated and user == analysis.workout.user.user %}
document.getElementById("myRange").style.display = "block";
{% else %}
document.getElementById("myRange").style.display = "none";