$def with (open_courses,registrable_courses,submissions,registration_status)
$#
$# This file is part of INGInious. See the LICENSE and the COPYRIGHTS files for
$# more information about the licensing of this file.
$#
$var title: My profile
$# Left column content
$def ColumnF():
Last tried exercises
$var Column: $:ColumnF()
$# Start content
My courses
$if len(open_courses) != 0:
$for courseid in open_courses:
$if not user_manager.course_is_user_registered(open_courses[courseid]) and not open_courses[courseid].can_students_choose_group():
$else:
$else:
You are not registered to any course
Register for a course
$if registration_status == True:
Registration complete.
$elif registration_status == False:
Registration failed. Please check that you properly typed the password.