{% extends "base.html" %} {% load i18n static wger_extras %} {# #} {# Title #} {# #} {% block title %}{% translate "Weight overview" %}{% endblock %} {# #} {# Header #} {# #} {% block header %} {% endblock %} {# #} {# Content #} {# #} {% block content %}
{% if not min_date %}

{% translate "There is no chart here because there are no weight entries." %} {% translate "Use link to add one." %}

{% endif %}

{% if is_owner %} {% if last_five_weight_entries_details %} {% for entry_detail in last_five_weight_entries_details %} {% endfor %}
{% translate 'Date' %} {% translate 'Weight' %} {% translate 'Change' context "Noun, not verb" %} {% translate 'Days' %}
{{ entry_detail.0.date }} {{ entry_detail.0.weight }} {% if entry_detail.1 > 0 %} + {% endif %} {% if entry_detail.1 %} {{ entry_detail.1 }} {% else %} -/- {% endif %} {% if entry_detail.2 %} {{ entry_detail.2 }} {% else %} -/- {% endif %}
{% endif %} {% endif %} {% endblock %} {# #} {# Side bar #} {# #} {% block sidebar %} {% endblock %} {# #} {# Options #} {# #} {% block options %} {% if is_owner %}
{% translate "Add" %} {% endif %} {% endblock %}