Self hosted FLOSS fitness/workout, nutrition and weight tracker
Use the same format for the nutrition plan overview as in the start page
Roland Geidera5e891d58061
diff --git a/nutrition/templates/nutrition_overview.html b/nutrition/templates/nutrition_overview.htmlindex adc690025..4a937dd57 100644--- a/nutrition/templates/nutrition_overview.html+++ b/nutrition/templates/nutrition_overview.html@@ -2,7 +2,7 @@{% load i18n %}{% load staticfiles %}-{% block title %}{% trans "Nutrition overview" %}{% endblock %}+{% block title %}{% trans "Your nutrition plans" %}{% endblock %}{% block content %}@@ -12,7 +12,14 @@<ul>{% for plan in plans %}<li>- <a href="{% url nutrition.views.view plan.id %}">{{ plan }}</a>+ <a href="{% url nutrition.views.view plan.id %}">+ {% if plan.description %}+ {{ plan.description }}+ {% else %}+ {% trans "Nutrition plan" %}+ {% endif %}+ </a>+ – {{ plan.creation_date }}</li>{% empty %}<li>@@ -23,5 +30,7 @@{% endfor %}</ul>-<a href="{% url nutrition.views.add %}">{% trans "Add nutrition plan" %}</a>+<p>+ <a href="{% url nutrition.views.add %}">{% trans "Add nutrition plan" %}</a>+</p>{% endblock %}