{% extends "base.html" %} {% load url from future %} {% load i18n %} {% load staticfiles %} {% load manager_extras %} {% 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 %}
{% endif %} {# end check permissions #}
{% endif %} {# end exercise is pending review #}

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

{{ exercise.description|safe }}

{% 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 %} {% 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" %}
    {% for muscle in muscles %} {% if muscle.is_front %}
  • {{muscle.name}}
  • {% endif %} {% endfor %} {% for muscle in muscles_secondary %} {% if muscle.is_front %}
  • {{muscle.name}}
  • {% endif %} {% endfor %}
    {% for muscle in muscles %} {% if not muscle.is_front %}
  • {{muscle.name}}
  • {% endif %} {% endfor %} {% for muscle in muscles_secondary %} {% if not muscle.is_front %}
  • {{muscle.name}}
  • {% endif %} {% endfor %}
{% endif %} {% endwith %} {% endwith %} {# end musclelist #} {% if logs %}

{% trans "Weight log" %}

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

{% trans "Back to overview" %}

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


{% if exercise.status == exercise.EXERCISE_STATUS_ACCEPTED %}

{% trans "User submitted exercise" %}

{% with username=exercise.user.username %}

{% blocktrans %}This exercise was submitted by {{username}}.{% endblocktrans %} {% endwith %}


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

{% trans "Options" %}

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

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


{% endif %} {% cc_by_sa_sidebar language %} {% endblock %}