Skip to content

armgit / wger

Public Imported from GitHub
0

Self hosted FLOSS fitness/workout, nutrition and weight tracker

Use a h4 for nutritional plan's description

Roland Geiderf5205b722e40
diff --git a/wger/manager/templates/workout/view.html b/wger/manager/templates/workout/view.html
index 59f45a274..f6120bca0 100644
--- a/wger/manager/templates/workout/view.html
+++ b/wger/manager/templates/workout/view.html
@@ -53,9 +53,7 @@ $(document).ready(function () {
{% if workout.comment %}
-<h4>
- {{workout.comment}}
-</h4>
+ <h4>{{workout.comment}}</h4>
{% endif %}
{% for day in workout.canonical_representation.day_list %}
diff --git a/wger/nutrition/templates/plan/view.html b/wger/nutrition/templates/plan/view.html
index 11ab09802..6d282c4af 100644
--- a/wger/nutrition/templates/plan/view.html
+++ b/wger/nutrition/templates/plan/view.html
@@ -39,9 +39,7 @@ function wgerCustomModalInit()
{# #}
{% block content %}
{% if plan.description %}
-<p>
- <strong>{% trans "Goal" %}:</strong> {{plan.description}}
-</p>
+ <h4>{{plan.description}}</h4>
{% endif %}
<table class="table table-bordered">