{% load simple_filters %} {% xextends "ndf/base.html" with first_body_column=0 %} {# {% extends "ndf/base.html" %} #} {% load i18n %} {% load cache %} {% load ndf_tags %} {% block head %} {{ block.super }} {% endblock %} {% block title %} {% trans "Course" %}: {{group_name}} > {% trans "Activity" %}: {% firstof node.altnames node.name %} {% endblock %} {% block body_content %} {% check_is_gstaff group_id request.user as is_gstaff %}
{% if resource_prev_id %} {% trans "Previous Activity" %} {% comment %} {% else %} Previous Activity {% endcomment %} {% endif %}
{{unit_node.name}}
{{node.name}} {% if "QuizItemEvent" not in node.member_of_names_list %} {% if is_gstaff or node.created_by == request.user.id %} {% get_edit_url node.pk as edit_url %} {% trans " Edit Content" %}| {% trans " Edit Settings" %} {% endif %} {% endif %}
{% if resource_next_id %} {% trans "Next Activity" %} {% comment %} {% else %} Next Activity {% endcomment %} {% endif %}
{% get_help_pages_of_node node as help_page_list %}
{% if help_page_list %}  {% trans "View related contents" %} {% endif %} {# {{node.content|safe}} #} {% include 'ndf/node_ajax_content.html' with no_discussion=True hide_breadcrumbs=True %}
{% if help_page_list %} {% for each_help_page in help_page_list %} {% endfor %} {% endif %}
{% get_thread_node node.pk as thread_node_obj %} {% if thread_node_obj and "QuizItemEvent" not in node.member_of_names_list %} {% get_disc_replies thread_node_obj.pk group_id global_disc_all_replies as all_replies %} {% include 'ndf/gin-line-texteditor.html' with node=thread_node_obj var_name="content_org" allow_to_comment=allow_to_comment %} {% endif %}
{% comment %}
{% endcomment %} {% endblock body_content %}