Private
Public Access
1
0

correcting stars

This commit is contained in:
Sander Roosendaal
2019-03-14 21:41:07 +01:00
parent b617cadad9
commit 2b148b442b

View File

@@ -26,7 +26,7 @@
if (rankingpiece) { if (rankingpiece) {
$(tdid).addClass('yellow'); $(tdid).addClass('yellow');
$(tdid).removeClass('notyellow'); $(tdid).removeClass('notyellow');
$(tdid).html('★'); $(tdid).html('☆');
console.log('adding yellow '+tdid); console.log('adding yellow '+tdid);
} else { } else {
$(tdid).removeClass('yellow'); $(tdid).removeClass('yellow');
@@ -182,7 +182,7 @@
<td id="mypointer" <td id="mypointer"
class="rankingtoggle" workoutid="{{ workout.id|encode }}"> class="rankingtoggle" workoutid="{{ workout.id|encode }}">
{% if workout.rankingpiece %} {% if workout.rankingpiece %}
<span id="star{{ workout.id|encode }}" class="yellow">&starf;</span> <span id="star{{ workout.id|encode }}" class="yellow">&star;</span>
{% else %} {% else %}
<span id="star{{ workout.id|encode }}" class="notyellow">&star;</span> <span id="star{{ workout.id|encode }}" class="notyellow">&star;</span>
{% endif %} {% endif %}