From de569e4522f123562f81c95d3e945a5dbd60c1e1 Mon Sep 17 00:00:00 2001 From: Mike Dikan Date: Tue, 24 Jan 2017 18:30:43 -0500 Subject: [PATCH] Disable changes to course code in re-run form ECOM-6898 Disable (make read-only) the field for course code in the re-run form. This will prevent creation of course runs with a different course code in the course key that are intended to stand for the same course in a program, which presents problems for the course catalog mapping process. --- cms/static/sass/views/_course-create.scss | 5 +++++ cms/templates/course-create-rerun.html | 9 ++++----- 2 files changed, 9 insertions(+), 5 deletions(-) diff --git a/cms/static/sass/views/_course-create.scss b/cms/static/sass/views/_course-create.scss index 3b6ce18371..2bfeb24e84 100644 --- a/cms/static/sass/views/_course-create.scss +++ b/cms/static/sass/views/_course-create.scss @@ -66,6 +66,11 @@ width: 100%; } + .rerun-course-number, + .rerun-course-number-label { + color: #a0a0a0; + } + .rerun-course-name { @extend %t-title5; font-weight: 300; diff --git a/cms/templates/course-create-rerun.html b/cms/templates/course-create-rerun.html index 0be39608d1..a438af8895 100644 --- a/cms/templates/course-create-rerun.html +++ b/cms/templates/course-create-rerun.html @@ -91,12 +91,11 @@ from openedx.core.djangolib.js_utils import js_escaped_string
  • -
    - - +
    + + - ${_("The unique number that identifies the new course within the organization. (This number is often the same as the original course number.)")} - ${_("Note: No spaces or special characters are allowed.")} + ${_("The unique number that identifies the new course within the organization. (This number will be the same as the original course number and cannot be changed.)")}