Skip to content

armgit / wger

Public Imported from GitHub
0

Self hosted FLOSS fitness/workout, nutrition and weight tracker

Simplify plan description output in overview

Roland Geidereddc21a2d8dd
diff --git a/wger/nutrition/templates/plan/overview.html b/wger/nutrition/templates/plan/overview.html
index 8b29bace4..1e53ba499 100644
--- a/wger/nutrition/templates/plan/overview.html
+++ b/wger/nutrition/templates/plan/overview.html
@@ -19,13 +19,7 @@
{% for plan in plans %}
<tr>
<td>
- <a href="{% url 'nutrition:plan:view' plan.id %}">
- {% if plan.description %}
- {{ plan.description }}
- {% else %}
- {% trans "Nutrition plan" %}
- {% endif %}
- </a>
+ <a href="{% url 'nutrition:plan:view' plan.id %}">{{ plan }}</a>
</td>
<td>
{{ plan.creation_date }}