{% extends "ndf/mis_base.html" %} {% load ndf_tags %} {% load url from future %} {% load i18n %} {% block title %} {{title}} - {{node.name}} {% endblock %} {% block url %}{% url 'create_edit' groupid node %}{% endblock %} {% block style %} .row .row { margin-left: 0 } #top_right_btn{ position: absolute, right:0 } {% endblock %} {% block collection_content %}
{% include "ndf/collection_ajax_view.html" %}
{% if course_structure_exists %}{% trans "Edit Course Structure" %}{% else %}{% trans "Add Course Structure" %}{% endif %} {% endblock %} {% block head %} {% endblock %} {% block meta_content %} {% endblock %} {% block body_content %}

{{node.name}}

{{ node.member_of_names_list|join:', ' }} created {{node.created_at|timesince}} ago by {{node.user_details_dict.created_by}} {% check_is_gstaff groupid request.user as is_gstaff %} {% if is_gstaff %} Edit {% endif %}
{% trans "Course Details" %}
{% trans "Course Registration Details "%} {% if course_gst_name == "NUSSD Course" %} {% for tab_name, tab_fields_list in property_order_list %}
{% for field in tab_fields_list %}
{{field.altnames}}
{% if field.altnames == "Master Trainer: Minimum qualifications requirement" or field.altnames == "Voluntary Teacher: Minimum qualifications requirement" %} {% for k in field.value %} {% for k1,v1 in k.items %} {% if k1 == "text" %} {{v1|title}} {% endif %} {% endfor %} {% endfor %} {% elif field.altnames == "Tags" %} {% for k in field.value %} {{k}} {% endfor %} {% else %} {{field.value|title}} {% endif %}

{% endfor %}
{% endfor %} {% elif course_gst_name == "Announced Course" %} {% for each in property_order_list_ac %}
{% for fieldk,fieldv in each.items %}
{{fieldk|title}}
{{fieldv|title}}
{% endfor %} {% endfor %} {% endif %}
{% endblock %} {% block script %} {{block.super}} $(document).on("click", ".collection", function(){ $("#course_accordion").removeClass("active"); }); $("#view_collection").find("b.current").after('  {% trans "Edit" %}') {% endblock %}