{% extends "base.html" %} {% load i18n static wger_extras thumbnail cache django_bootstrap_breadcrumbs %} {# #} {# Opengraph #} {# #} {% block opengraph %} {{ block.super }} {% endblock %} {% block opengraphimages %} {% for image in exercise.images.accepted %} {% empty %} {% endfor %} {% endblock %} {# #} {# Title #} {# #} {% block title %}{{ exercise.name }}{% endblock %} {# #} {# Header #} {# #} {% block header %} {% endblock %} {# #} {# Content #} {# #} {% block content %} {% if exercise.status == exercise.STATUS_PENDING %}
{% blocktranslate %}This user submitted exercise is pending a decision to be included in the database.{% endblocktranslate %} {% translate "Till then, it will not be shown in the overview or the search." %} {% if perms.exercises.add_exercise %}{% translate "Please select one of the options below." %}{% endif %}
{% if perms.exercises.add_exercise %} {% translate "Accept" %} {% translate "Decline" %} {% translate "Delete" %} {% endif %} {# end check permissions #}{% translate "Add new image" %}
{% endif %} {% endif %} {% endwith %} {% if perms.exercises.change_exerciseimage %} {% with images=exercise.images.pending %} {% if images %}{% translate "Add new comment" %}
{% endif %} {% endif %} {% endwith %} {% cache cache_timeout exercise-detail-muscles cache_vary_on %} {% if muscles_main_front or muscles_main_back %}{% translate "The diagram shows the most used muscles on this exercise" %}
{% translate "Main muscles" %}
{% translate "Secondary muscles" %}
{% translate "Submit a correction" %}
{% endif %} {% license_sidebar exercise.license exercise.license_author %} {% endblock %} {# #} {# Options #} {# #} {% block options %} {% if perms.exercises.change_exercise %}