{% extends "base.html" %} {% load i18n %} {% load static %} {% load wger_extras %} {% load thumbnail %} {% load cache %} {% block title %}{% trans "Exercises" %}{% endblock %} {% block header %} {% endblock %} {% block content %} {% cache cache_timeout exercise-overview-mobile language.id %} {% regroup exercises by category as exercise_list %}
{% if user.is_authenticated and not user.userprofile.is_temporary %}
{% trans "Add new exercise" %}
{% else %}
{% trans "Add new exercise" %}
{% trans "Only registered users can do this" %}
{% endif %}