Private
Public Access
1
0

opaquification part 1

This commit is contained in:
Sander Roosendaal
2019-01-03 20:50:36 +01:00
parent e42583d4f9
commit f901258b9b
11 changed files with 314 additions and 175 deletions

View File

@@ -28,12 +28,13 @@
<script>
$(function($) {
console.log('loading script');
var workoutid = {{ workout.id }};
var workoutid = '{{ workout.id|encode }}';
console.log(workoutid);
var shownotes = true;
if("{{ rower.showfavoritechartnotes }}" == "False") {
shownotes = false;
}
$.getJSON(window.location.protocol + '//'+window.location.host + '/rowers/workout/{{ workout.id }}/get-thumbnails', function(json) {
$.getJSON(window.location.protocol + '//'+window.location.host + '/rowers/workout/{{ workout.id|encode }}/get-thumbnails', function(json) {
var counter=0;
$("#id_sitready").remove();
$("#id_thumbs").append(