From 1b39e4b93ee6dff928e645e22a0af01b6e93052f Mon Sep 17 00:00:00 2001 From: Chris Dodge Date: Sun, 26 Apr 2015 21:43:32 -0400 Subject: [PATCH] Add an additional sentance (per customer) on how the survey information will be used --- lms/djangoapps/survey/views.py | 3 +++ lms/templates/survey/survey.html | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/lms/djangoapps/survey/views.py b/lms/djangoapps/survey/views.py index 0e98e441a2..be9c547443 100644 --- a/lms/djangoapps/survey/views.py +++ b/lms/djangoapps/survey/views.py @@ -49,6 +49,8 @@ def view_student_survey(user, survey_name, course=None, redirect_url=None, is_re # just remove that outer key to make the JSON payload simplier existing_answers = survey.get_answers(user=user).get(user.id, {}) + platform_name = microsite.get_value('platform_name', settings.PLATFORM_NAME) + context = { 'existing_data_json': json.dumps(existing_answers), 'postback_url': reverse('submit_answers', args=[survey_name]), @@ -58,6 +60,7 @@ def view_student_survey(user, survey_name, course=None, redirect_url=None, is_re 'survey_form': survey.form, 'is_required': is_required, 'mail_to_link': microsite.get_value('email_from_address', settings.CONTACT_EMAIL), + 'platform_name': platform_name, 'course': course, } diff --git a/lms/templates/survey/survey.html b/lms/templates/survey/survey.html index 4c8bc9a5b5..cc8a125e39 100644 --- a/lms/templates/survey/survey.html +++ b/lms/templates/survey/survey.html @@ -31,7 +31,7 @@

- ${_("You can begin your course as soon as you complete the following form. Required fields are marked with an asterisk (*).")} + ${_("You can begin your course as soon as you complete the following form. Required fields are marked with an asterisk (*). This information is for the use of {platform_name} only. It will not be linked to your public profile in any way.").format(platform_name=platform_name)}

% endif