Private
Public Access
1
0

show and unshow fav chart notes according user setting

This commit is contained in:
Sander Roosendaal
2017-10-25 21:26:40 +02:00
parent 8778ee7106
commit 336ccb1c74
3 changed files with 12 additions and 5 deletions

View File

@@ -8,7 +8,9 @@
<a href="/rowers/workout/{{ workout.id }}/flexchart?favoritechart={{ forloop.counter |add:"-1" }}">
{{ chart.div | safe }}
</a>
{% if rower.showfavoritechartnotes %}
<span class="tooltiptext">{{ chart.notes }}</span>
{% endif %}
</div>
</div>
{% endfor %}