{% extends "base.html" %} {% load i18n %} {% load staticfiles %} {% load wger_extras %} {% load thumbnail %} {% load cache %} {% block header %} {% endblock %} {% block title %}{{ exercise.name }}{% endblock %} {% block content %} {% if exercise.status == exercise.EXERCISE_STATUS_PENDING %}

{% trans "Exercise is pending review" %}

{% blocktrans %}This user submitted exercise is pending a decision to be included in the database.{% endblocktrans %} {% trans "Till then, it will not be shown in the overview or the search." %} {% if perms.exercises %}{% trans "Please select one of the options below." %}{% endif %}

{% if perms.exercises %}
{% trans 'Decline' %} {% trans "Decline" %} {% trans 'Accept' %} {% trans "Accept" %}
{% endif %} {# end check permissions #}
{% endif %} {# end exercise is pending review #}

{% trans "Category" %}: {% trans exercise.category.name %}

{% if exercise.equipment.all %}

{% trans "Equipment" %}: {% for equipment in exercise.equipment.all %} {% trans equipment.name %} {% if not forloop.last %}, {% endif %} {% endfor %}

{% endif %}
{{ exercise.description|safe }}
{# #} {# Comments #} {# #} {% with comments=exercise.exercisecomment_set.all %} {% if comments %}

{% trans "Comments for this exercise" %}

{% endif %} {% endwith %} {% if perms.exercises %}

{% trans 'Add new comment' %} {% trans "Add new comment" %}

{% endif %} {# #} {# Images #} {# #} {% with images=exercise.exerciseimage_set.all %} {% if images %}

{% trans "Images" %}

{% endif %} {% endwith %} {% if perms.exercises %}

{% trans 'Add new image' %} {% trans "Add new image" %}

{% endif %} {% with muscles=exercise.muscles.all %} {% with muscles_secondary=exercise.muscles_secondary.all %} {% if muscles %}

{% trans "Muscles" %}

{% trans "The diagram shows the most used muscles on this exercise" %}

{% trans "Main muscles" %}
{% trans "Secondary muscles" %}
{% endif %} {% endwith %} {% endwith %} {# end musclelist #} {% if logs %}

{% trans "Weight log" %}

{% render_weight_log logs svg_uuid %} {% endif %} {% endblock %} {% block sidebar %}

{% trans "Options" %}

{% trans 'Back to overview' %} {% trans "Back to exercise overview" %}

{% if perms.exercises %}

{% trans 'Edit' %} {% trans "Edit" %}

{% trans 'Delete' %} {% trans "Delete" %}

{% endif %} {% license_sidebar exercise.license exercise.license_author %} {% endblock %}