From 2511c9fad6aabddd225cb22d77f1585c8e807293 Mon Sep 17 00:00:00 2001 From: Sarah Fischmann Date: Fri, 4 Aug 2017 11:26:20 -0400 Subject: [PATCH] Adding link to proctor review rules in Studio Allows instructors to see a link to the online proctoring review rules documentation while configuring and exam to be a proctored exam. Also updates the GitHub requirements to point to the newest 0.19.0 release of edx-proctoring. EDUCATOR-757 --- cms/djangoapps/contentstore/views/item.py | 1 + .../timed-examination-preference-editor.underscore | 13 ++++++++++++- requirements/edx/github.txt | 2 +- 3 files changed, 14 insertions(+), 2 deletions(-) diff --git a/cms/djangoapps/contentstore/views/item.py b/cms/djangoapps/contentstore/views/item.py index 330eb0ee35..240a7dc2d4 100644 --- a/cms/djangoapps/contentstore/views/item.py +++ b/cms/djangoapps/contentstore/views/item.py @@ -1194,6 +1194,7 @@ def create_xblock_info(xblock, data=None, metadata=None, include_ancestor_info=F elif xblock.category == 'sequential': xblock_info.update({ 'is_proctored_exam': xblock.is_proctored_exam, + 'online_proctoring_rules': settings.PROCTORING_SETTINGS.get('LINK_URLS', {}).get('online_proctoring_rules', {}), 'is_practice_exam': xblock.is_practice_exam, 'is_time_limited': xblock.is_time_limited, 'exam_review_rules': xblock.exam_review_rules, diff --git a/cms/templates/js/timed-examination-preference-editor.underscore b/cms/templates/js/timed-examination-preference-editor.underscore index a72e72996a..fad00198d3 100644 --- a/cms/templates/js/timed-examination-preference-editor.underscore +++ b/cms/templates/js/timed-examination-preference-editor.underscore @@ -42,7 +42,18 @@