Self hosted FLOSS fitness/workout, nutrition and weight tracker
Merge branch 'master' into nutrition-diary
Roland Geiderda6b8b1c38dd
diff --cc wger/core/templates/index.htmlindex e27b6015d,c42490271..bfbfbd084--- a/wger/core/templates/index.html+++ b/wger/core/templates/index.html@@@ -8,11 -8,6 +8,14 @@@{# #}{% block header %}<script src="{% static 'js/weight.js' %}"></script>++++{% if plan %}+<script>+$(document).ready(function () {+ draw_nutrition_diary_chart({{ plan.pk }});+});+</script>++{% endif %}{% endblock %}@@@ -189,7 -158,7 +166,7 @@@ or, if you don't have one, simply by da<div id="nutrition_diary_chart"></div></div><div class="col-sm-4">-- <div id="current-username" data-current-username="{{ owner_user.username }}"></div>++ <div id="current-username" data-current-username="{{ user.username }}"></div><div id="weight_diagram"></div></div></div>