Add the ability for course staff to specify a Survey and make it required so that a student must fill it out before starting the course

This commit is contained in:
Chris Dodge
2014-10-19 20:24:07 -04:00
committed by Martyn James
parent 994ac6da6d
commit fea9432b50
24 changed files with 1576 additions and 1 deletions

View File

@@ -559,6 +559,22 @@ class CourseFields(object):
default=False,
scope=Scope.settings)
course_survey_name = String(
display_name=_("Pre-Course Survey Name"),
help=_("Name of SurveyForm to display as a pre-course survey to the user."),
default=None,
scope=Scope.settings,
deprecated=True
)
course_survey_required = Boolean(
display_name=_("Pre-Course Survey Required"),
help=_("Specify whether students must complete a survey before they can view your course content. If you set this value to true, you must add a name for the survey to the Course Survey Name setting above."),
default=False,
scope=Scope.settings,
deprecated=True
)
class CourseDescriptor(CourseFields, SequenceDescriptor):
module_class = SequenceModule