{% extends "learning/course/detail.html" %} {% load i18n learning django_bootstrap_breadcrumbs %} {% block title %}{{ block.super }} − {% trans "Students" %}{% endblock %} {% block breadcrumbs %} {{ block.super }} {% breadcrumb "Students" "learning:course/detail/students" course.slug %} {% endblock %} {% block learning_content %} {# Show a warning if the course is private #} {% if course.access == 'COLLABORATORS_ONLY' or course.access == 'PRIVATE' %}
{% trans "Name" %} | {% trans "Since" %} | {% trans "Self registration" %} | {% trans "Locked" %} | {% trans "Delete" %} |
---|---|---|---|---|
{{ registration.student }} | {{ registration.created|date:"SHORT_DATE_FORMAT" }} | {% if registration.self_registration %} {% else %} {% endif %} | {% if "change_student_course" in course_perms %} {% else %} {% if registration.registration_locked %} {% else %} {% endif %} {% endif %} | {% if "delete_student_course" in course_perms %} {% include "learning/course/_includes/students/modals/unregister_student_from_course.html" with course=object registration=registration %} {% endif %} |
{% blocktrans count counter=number_student %}You have only one student.{% plural %}You have {{ counter }} students.{% endblocktrans %}
{% else %}