{% load simple_filters %} {% load check_is_gstaff from ndf_tags %} {% xextends "ndf/base.html" with first_body_column=0 %} {% load i18n %} {% block title %} {{title|capfirst}} {% endblock title %} {% block body_content %} {% check_is_gstaff groupid request.user as is_gstaff %}
Explore
Courses Groups {% if is_gstaff %} Base Course {% endif %}
{% comment %} {% endcomment %}
{% if title == "base courses" and is_gstaff %}
{% trans " Create Course" %}
{% endif %} {% if title == 'explore' %} Please select course or a group. {% else %} {% if title == "courses" %} {% include 'ndf/pagination.html' with urlname="courses_paged" first_arg="" second_arg="" third_arg="" page_info=ce_page_cur %} {% elif title == "base courses" %} {% include 'ndf/pagination.html' with urlname="basecourses_paged" first_arg="" second_arg="" third_arg="" page_info=ce_page_cur %} {% elif title == "groups" %} {% include 'ndf/pagination.html' with urlname="groups_paged" first_arg="" second_arg="" third_arg="" page_info=ce_page_cur %} {% endif %} {% endif %} {% endblock body_content %}