{% load get_username get_thread_node get_disc_replies get_node check_is_gstaff user_access_policy from ndf_tags %} {% load i18n %} {% check_is_gstaff group_id request.user as is_gstaff %} {% user_access_policy groupid request.user as user_access_priv %} {% include 'ndf/widget_user_access_modal.html' %}
{{node.name}} {% if node.tags %}
{% for tag in node.tags %} {% if forloop.counter < 5 %}
{% endif %}
{{ node.user_details_dict.contributors|join:', ' }}   •   {{node.created_at|date:"d M Y h:i A"}}   •  
{#
Your rating
#}
{% include 'ndf/rating.html'%} {% comment %} {% endcomment %}
  •   {% comment %}
{% include "ndf/widget_analytics_views.html" %}
{% endcomment %}
{% if is_gstaff or node.created_by == request.user.id %} {% trans "Edit" %} {% trans "Delete" %} {% endif %}
{{node.content|default_if_none:"No Description added yet!"|safe}}
{% 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 var_name="content_org" ckeditor_toolbar="LMSStudentsToolbar" %} {% else %} {% get_disc_replies node.pk group_id global_disc_all_replies as all_replies %} {% include 'ndf/in-line-texteditor.html' with var_name="content_org" ckeditor_toolbar="LMSStudentsToolbar" %} {% endif %}
{% comment %}
214 views likes 22 comments
{% endcomment %}