Skip to content

armgit / wger

Public Imported from GitHub
0

Self hosted FLOSS fitness/workout, nutrition and weight tracker

add meal name in frontend template

Ayush Kumar16a7a8dd36c1
diff --git a/wger/nutrition/templates/plan/view.html b/wger/nutrition/templates/plan/view.html
index 2ccf4f087..b6a0b3e87 100644
--- a/wger/nutrition/templates/plan/view.html
+++ b/wger/nutrition/templates/plan/view.html
@@ -97,8 +97,10 @@
</div>
</div>
{% endif %}
-
- <h4>{% if meal.time %}{{ meal.time|time:"H:i" }}{% endif %}</h4>
+
+ <h4>{% if meal.name %}{{ meal.name }}{% endif %}</h4>
+ <h5>{% if meal.time %}{{ meal.time|time:"H:i" }}{% endif %}</h5>
+
</td>
</tr>
<tr>