{% load ndf_tags %} {% load i18n %} {% block head %} {% if user.is_authenticated %} {% endif %} {% endblock %} {% get_group_object groupid as group_object %} {% user_access_policy group_id request.user as user_access %} {% check_is_gstaff groupid request.user as is_gstaff %} {% check_group node.pk as is_group %} {% block breadcrumb %} {% get_breadcrumb request.path %} {% endblock breadcrumb %}
{{node.name}}
{% if node.mime_type %} {% get_grid_fs_object node as grid_fs_obj %} {% trans "Resource Type" %}: {{node.mime_type}}

{% if node.collection_set %} {% if 'image' in node.mime_type or 'video' in node.mime_type %} {% else %} {% if 'audio' in node.mime_type %} {% elif 'html' in node.mime_type %} {% elif 'pdf' in node.mime_type %}
{% trans "Full screen view" %} {% else %} {{ grid_fs_obj.filename }} {% endif %} {% endif %} {% else %} {% if 'image' in node.mime_type %} {% elif 'Pandora_video' in node.member_of_names_list %} {% get_source_id node.pk as source_id %} {% elif 'video' in node.mime_type %} {% elif 'audio' in node.mime_type %} {% elif 'html' in node.mime_type %} {% elif 'pdf' in node.mime_type %}
{% trans "Full screen view" %} {% elif 'epub' in node.mime_type %}

{% trans "Previous" %}

{% trans "Next" %}

{% trans "Previous" %}

{% trans "Download" %} "{{ grid_fs_obj.filename }}"

{% trans "Next" %}

{% else %} {{ grid_fs_obj.filename }} {% endif %} {% endif %} {% comment %} {% if user.is_authenticated %}

{% if 'video' in node.mime_type %} {% else %} {% endif %} {% trans "Download " %} {% endif %} {% endcomment %} {% endif %}
{% if is_group %} {% get_attribute_value group_object.pk 'start_time' as event_start_time %} {% get_attribute_value group_object.pk 'end_time' as event_end_time %} {% get_attribute_value group_object.pk 'start_enroll' as event_start_enroll %} {% get_attribute_value group_object.pk 'end_enroll' as event_end_enroll %}
{% trans "Fromw" %} {{event_start_time|date:"d-M-Y"}} to {{event_end_time|date:"d-M-Y"}}
{% trans "From" %} {{event_start_enroll|date:"d-M-Y"}} to {{event_end_enroll|date:"d-M-Y"}}

{% endif %} {% with node.html_content|safe as description %} {% if description != "None" %} {{ description }} {% endif %} {% endwith %}
{% if not is_group %} {% comment %} {% if user_access == "allow" %}
{% if "File" in node.member_of_names_list or "Page" in node.member_of_names_list %}
{% include "ndf/rating.html" %}

{% endif %}
{% endif %} {% endcomment %}
{% get_node group_id as group_obj %} {% get_thread_node node.pk as thread_node_obj %} {% if thread_node_obj %} {% get_disc_replies thread_node_obj.pk group_id global_disc_all_replies as all_replies %} {% include 'ndf/in-line-texteditor.html' with node=thread_node_obj %} {% else %} {% get_disc_replies node.pk group_id global_disc_all_replies as all_replies %} {% include 'ndf/in-line-texteditor.html' %} {% endif %} {% comment %} {% else %} {% if node.discussion_enable == True %} {% if thread_node %} {% get_node thread_node as thread_node_obj %} {% get_disc_replies thread_node_obj.pk group_id global_disc_all_replies as all_replies %} {% include 'ndf/in-line-texteditor.html' with node=thread_node_obj %} {% endif %} {% endif %} {% endcomment %}
{% endif %}
{% if is_gstaff %} {% if is_group %}

{% include "ndf/invite_users.html" %} {% include "ndf/invite_admins.html" %}
{% else %} {% get_edit_url node.pk as edit_url %} {% trans "Edit " %} {% endif %} {% endif %} {% if not is_group %}
{% include "ndf/widget_analytics_views.html" with event_player_flag=True %}
{% endif %}