Skip to content

armgit / wger

Public Imported from GitHub
0

Self hosted FLOSS fitness/workout, nutrition and weight tracker

Render the weight chart on top of the table

Roland Geider1440e4c151c3
diff --git a/wger/core/templates/tags/render_weight_log.html b/wger/core/templates/tags/render_weight_log.html
index 4e8aea309..bc80e95ec 100644
--- a/wger/core/templates/tags/render_weight_log.html
+++ b/wger/core/templates/tags/render_weight_log.html
@@ -1,4 +1,6 @@
{% load i18n staticfiles wger_extras %}
+<div id="svg-{{div_uuid}}" style="text-align:center;"></div>
+
<div class="weight-chart-table-toggle" data-toggle-target="table-{{div_uuid}}">
<p>
<a href="#">
@@ -39,5 +41,3 @@
</tr>
</table>
</div>
-
-<div id="svg-{{div_uuid}}" style="text-align:center;"></div>