Add new enrollment message to the dashboard
The body of the enrollment message template Tokenize platform name in message. Changing to a datetime enrollment approach Adding sorting. A little refactoring. Adding confguration model for time delta Adding admin registration and basic form for new config model. Fixing docstring typo Updating default time delta to 0, adding test to show it disabled functionality. Removing the form from configuration and tweaking the enrollment message html
Showing
- common/djangoapps/course_modes/views.py 1 addition, 1 deletioncommon/djangoapps/course_modes/views.py
- common/djangoapps/student/admin.py 4 additions, 1 deletioncommon/djangoapps/student/admin.py
- common/djangoapps/student/forms.py 2 additions, 1 deletioncommon/djangoapps/student/forms.py
- common/djangoapps/student/migrations/0041_add_dashboard_config.py 179 additions, 0 deletions...jangoapps/student/migrations/0041_add_dashboard_config.py
- common/djangoapps/student/models.py 18 additions, 0 deletionscommon/djangoapps/student/models.py
- common/djangoapps/student/tests/test_recent_enrollments.py 127 additions, 0 deletionscommon/djangoapps/student/tests/test_recent_enrollments.py
- common/djangoapps/student/views.py 50 additions, 2 deletionscommon/djangoapps/student/views.py
- lms/templates/dashboard.html 4 additions, 0 deletionslms/templates/dashboard.html
- lms/templates/enrollment/course_enrollment_message.html 6 additions, 0 deletionslms/templates/enrollment/course_enrollment_message.html
Please register or sign in to comment