{% extends 'learning/_includes/modals/base.html' %} {% load i18n learning %} {% block modal_id %}remove-objective-{{ objective.objective.slug }}-on-{{ object.slug }}{% endblock %} {% block modal_aria_label %}remove-objective-{{ objective.objective.slug }}-on-{{ object.slug }}{% endblock %} {% block modal_header %} {% endblock %} {% block modal_body %}
{% blocktrans trimmed with ability=objective.objective.ability object_name=object_name %} You are about to unlink the objective {{ ability }}. This means that the objective will remain but will no longer be associated with this {{ object_name }}. {% endblocktrans %}
{% if user == objective.objective.author %} {% trans "You are the author of this objective. You can delete it. This means that the objective will delete on the entire application." %} {% endif %}
{% endblock %} {% block modal_footer %} {% if user == objective.objective.author %} {% with "learning:objective/delete" as delete_url %}
{% csrf_token %}
{% endwith %} {% endif %}
{% csrf_token %}
{% endblock %}