New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@edx/edx-proctoring

Package Overview
Dependencies
Maintainers
11
Versions
232
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@edx/edx-proctoring - npm Package Compare versions

Comparing version 3.7.14 to 3.7.15

24

edx_proctoring/static/proctoring/js/views/proctored_exam_info.js

@@ -44,7 +44,6 @@ (function(Backbone, $) {

status: gettext('Approved in Another Course'),
message: gettext(
'Your onboarding profile has been approved in another course, ' +
'so you are eligible to take proctored exams in this course. ' +
'However, it is highly recommended that you complete this ' +
'course\'s onboarding exam in order to ensure that your device ' +
message: gettext('You are eligible to take proctored exams in this course.'),
detail: gettext(
'If your device has changed, we recommend that you complete this ' +
'course\'s onboarding exam in order to ensure that your setup ' +
'still meets the requirements for proctoring.'

@@ -100,2 +99,7 @@ )

$el.find('.onboarding-status-detail').css({
'font-size': '0.8rem',
'margin-bottom': '15px'
});
$el.find('.action').css({

@@ -116,2 +120,8 @@ display: 'block',

$el.find('.action-onboarding-practice').css({
color: '#ffffff',
background: '#0075b4',
'margin-bottom': '15px'
});
$el.find('.action-disabled').css({

@@ -161,4 +171,6 @@ background: '#b4b6bd'

data = {
onboardingStatus: statusText.status,
onboardingStatus: this.status,
onboardingStatusText: statusText.status,
onboardingMessage: statusText.message,
onboardingDetail: statusText.detail,
showOnboardingReminder: !['verified', 'other_course_approved'].includes(data.onboarding_status),

@@ -165,0 +177,0 @@ onboardingNotReleased: releaseDate > now,

@@ -40,6 +40,6 @@ /* global LearnerOnboardingModel:false */

'<h3 class="message-title"> <%= gettext("This course contains proctored exams") %></h3>' +
'<% if (onboardingStatus) { %>' +
'<% if (onboardingStatusText) { %>' +
'<div class="onboarding-status">' +
'<span class="onboarding-status"><%= gettext("Current Onboarding Status:") %> ' +
'<%= onboardingStatus %></span>' +
'<%= onboardingStatusText %></span>' +
'</div>' +

@@ -49,3 +49,8 @@ '<div class="onboarding-status-message">' +

'</div>' +
'<% if (onboardingDetail) { %>' +
'<div class="onboarding-status-detail">' +
'<span class="onboarding-status-detail"><%= onboardingDetail %></span>' +
'</div>' +
'<%} %>' +
'<%} %>' +
'<div class="onboarding-reminder">' +

@@ -418,3 +423,5 @@ '<% if (showOnboardingReminder) { %>' +

expect(this.proctored_exam_info.$el.find('.onboarding-status-message').html())
.toContain('it is highly recommended that you complete this course\'s onboarding exam');
.toContain('You are eligible to take proctored exams');
expect(this.proctored_exam_info.$el.find('.onboarding-status-detail').html())
.toContain('we recommend that you complete');
expect(this.proctored_exam_info.$el.find('.action-onboarding').html())

@@ -421,0 +428,0 @@ .toContain('Complete Onboarding');

@@ -5,3 +5,3 @@ {

"//": "Note that the version format is slightly different than that of the Python version when using prereleases.",
"version": "3.7.14",
"version": "3.7.15",
"main": "edx_proctoring/static/index.js",

@@ -8,0 +8,0 @@ "scripts":{

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc