{% extends 'modules/course_explorer/views/base_student.html' %} {% block content_header %} {# I18N: Title of the student profile page. Followed by a student's name. #} {{ gettext('Student Profile for') }} '{{ student.nick_name }}' {% endblock %} {% block sub_content %} {# I18N: Table header for the student's name. #} {# I18N: Table header for the student's email address. This is a noun. #}
{{ gettext('Name') }} {{ student.nick_name }}
{{ gettext('Email') }} {{ student.email }}
{% if courses %}

{# I18N: Heading on the profile page shown above table of registered courses. #} {{ gettext('Enrolled Courses') }}

{% for course in courses %} {% endfor %}
{{ course.course.title }} {# I18N: Text for representing student progress in a course. #} {{ gettext('Progress') }} {% if course.course.is_completed %} {# I18N: Text for a button on the 'list of courses' page that takes students to a page where they can view score. #} {{ gettext('View score') }} {% else %} {# I18N: Text on the student profile page which on clicking will take you to unenroll course page. #} {{ gettext('Withdraw') }} {% endif %}
{% endif %}

{% endblock %}