{% extends "task-base.html" %} {% load static %} {% load q %} {% block title %} {{m.title}} {% endblock %} {% block body %} {{ block.super }}
{% if top_of_page_output %}
{{top_of_page_output.html|safe}}
{% elif had_any_questions %}
{% if previous_page_type == "project" %}

This module was last updated on {{task.updated|date}}.

{% elif previous_page_type == "nquestion" %}

You have completed the module.

{% endif %}
{% endif %}
{# output documents #} {% if had_any_questions %}
{% for q, a, value_html in all_answers %} {% endfor %} {% if authoring_tool_enabled %} {% endif %}
Question Answer
{% endif %} {% for document in outputs %}
{{document.html|safe}}
{% endfor %}
{% with answers_question=task.is_answer_to_unique %} {% if answers_question and answers_question.task.editor == request.user %} {% if task.project.is_account_project %} {# there is nothing else in the account settings project #}

Return to Projects »

{% else %} {% if answers_question.task == answers_question.task.project.root_task %} {# return to project #}

{# we used to say 'with other modules in {{task.project.title}}' but there may not be any other modules #} Continue »

{% else %} {# return to non-project parent task #}

Continue Answering {{answers_question.task.title}} »

{% endif %} {% if answers_question.question.spec.type == "module-set" %}
{% csrf_token %} Start New {{answers_question.question.answer_type_module.title}} »
{% endif %} {% endif %} {% else %} {# every task, except projects, are now subtasks of other tasks, so this only occurs if a task is a subtask to multiple super-tasks #}

{# we used to say 'with other modules in {{task.project.title}}' but there may not be any other modules #} Continue »

{% endif %} {% endwith %} {% if can_review %}

Review »

{% endif %}
{% endblock %} {% block scripts %} {% if authoring_tool_enabled %} {% endif %} {% include "task-question-debug-links.html" %} {% endblock %}