{% load i18n %} {% load get_relation_value get_event_status get_unit_total_points from ndf_tags %} {% get_event_status node as get_status %} {% if group_counts %} {% get_unit_total_points request.user.id node.pk as get_unit_points %} {% endif %}
{% comment %}
In-progress
{% endcomment %} {% if not no_url %} {% if first_arg and second_arg and third_arg %} {% elif first_arg and second_arg %} {% elif first_arg %} {% endif %} {% endif %} {% if "base_unit" in node.member_of_names_list %}
DRAFT
{% endif %} {% if get_status %}
{{get_status}}
{% endif %}
{% if "announced_unit" in node.member_of_names_list %} {% get_relation_value node.pk 'has_banner_pic' as grel_dict %} {% if not grel_dict.cursor and grel_dict.grel_node and grel_dict.grel_node.if_file.thumbnail.relurl %} {% else %} {% endif %} {% elif "Group" in node.member_of_names_list %} {% get_relation_value node.pk 'has_profile_pic' as grel_dict %} {% if not grel_dict.cursor and grel_dict.grel_node and grel_dict.grel_node.if_file.thumbnail.relurl %} {% else %} {% endif %} {% else %} {% endif %} {% if node.altnames %} {{node.altnames|truncatechars:20}} {% else %} {{node.name|truncatechars:20}} {% endif %}
{{node.content|safe|striptags}}
{% comment %}
3 of 6 lessons Complete
2 Weeks
5 Students Enrolled
{% endcomment %}
{% if group_counts %} Total Points : {{get_unit_points}} Click here to see details.{% else %} Continue {% endif %}