Add contains_content_type_gated_content attribute to display items in the...
Add contains_content_type_gated_content attribute to display items in the Sequence Metadata API. This attribute is used to display the content type gating paywall in frontend-app-learning. Also, refactor existing timed exam code that checks for content_type_gated_content in a sequence to make it try with the new code AA-613
Showing
- common/lib/xmodule/xmodule/seq_module.py 51 additions, 63 deletionscommon/lib/xmodule/xmodule/seq_module.py
- common/lib/xmodule/xmodule/tests/test_sequence.py 41 additions, 9 deletionscommon/lib/xmodule/xmodule/tests/test_sequence.py
- lms/djangoapps/courseware/tests/test_views.py 2 additions, 2 deletionslms/djangoapps/courseware/tests/test_views.py
- lms/templates/seq_module.html 3 additions, 3 deletionslms/templates/seq_module.html
- openedx/core/djangoapps/courseware_api/views.py 2 additions, 1 deletionopenedx/core/djangoapps/courseware_api/views.py
Loading
Please register or sign in to comment