{% extends "base.html" %} {% load url from future %} {% load i18n %} {% load staticfiles %} {% load wger_extras %} {% load cache %} {% load thumbnail %} {% block title %}{% trans "Exercises" %}{% endblock %} {% block header %} {% endblock %} {% block content %} {% cache cache_timeout exercise-overview language.id %}
{% if exercise.main_image %}
|
{% trans "No exercises in this category. Add or edit an exercise and set its category" %} |
{% if user.is_authenticated and not user.userprofile.is_temporary %}
{% trans "Add new exercise" %}
{% else %}
{% trans "Only registered users can do this" %}
{% endif %}
{% with category=categories|first %}
{% trans "Edit category" %}:
{{category.name}}
{% with category=categories|first %}
{% trans "Delete category" %}:
{{category.name}}
{% endwith %}