{% extends 'subjects/view.html' %} {% load static i18n pagination permissions_tags subject_counter goals_filters %} {% load django_bootstrap_breadcrumbs %} {% block style %} {{block.super}} {% endblock %} {% block javascript%} {{ block.super }} {% endblock%} {% block breadcrumbs %} {{ block.super }} {% breadcrumb topic 'subjects:topic_view' subject.slug topic.slug %} {% breadcrumb goal 'goals:submit' goal.slug %} {% trans 'My Goals' as bread %} {% breadcrumb bread 'goals:view' goal.slug %} {% endblock %} {% block content %} {% if messages %} {% for message in messages %} {% endfor %} {% endif %} {% resource_permissions request.user goal as has_resource_permissions %} {% subject_permissions request.user goal.topic.subject as has_subject_permissions %} {% if goal.visible %}
{% elif has_resource_permissions %}
{% if has_subject_permissions %}
{% csrf_token %}

{% endif %} {% autoescape off %} {{ goal.presentation }} {% endautoescape %}
{% trans "Limit submission date" %}: {{ goal.limit_submission_date }}
{% for mine in itens %}

{% trans 'Goal' %} {{ mine.item.order }}: {{ mine.item.description }}

{% trans 'Minimum percentage desired' %}: {{ mine.item.ref_value }}%

{% trans 'Goal stabilished' %}: {{ mine.value }}%

{% endfor %} {% if not has_subject_permissions %} {% if not goal|is_close %}
{% endif %} {% endif %}
{% endblock %} {% block addtional_scripts %} {% endblock %}