{% load i18n %} {% load ndf_tags %} {% block head %} {% endblock %} {% if activity_node and not editor_view %}

{% firstof activity_node.altnames activity_node.name %}

{% check_is_gstaff groupid request.user as is_gstaff %} {% if activity_node.created_by == request.user.id or is_gstaff %} {% endif %}
{% if activity_node.tags %} {% for tag in activity_node.tags %} {% endfor %} {% endif %}
{% include 'ndf/rating.html' with node=activity_node %}
{% include "ndf/node_ajax_content.html" with node=activity_node expand_content=True no_discussion=True hide_breadcrumbs=True %}
{% for each in other_translations %}
{{each.language.1}}
{{each.name|truncatechars:25}}
{{each.content|striptags|truncatechars:25}}
{% endfor %}
{% else %}
{% if all_pages.count %} {% endif %} {% if user.is_authenticated %} {% trans "Add Activity page" %} {% trans "Add Teacher's page" %} {% trans "Add Help page" %} {% endif %}
{% for each in all_pages %} {% endfor %}
{% endif %}