diff --git a/common/static/sass/edx-pattern-library-shims/base/_variables.scss b/common/static/sass/edx-pattern-library-shims/base/_variables.scss index dba1a33ad5..fe86405bd8 100644 --- a/common/static/sass/edx-pattern-library-shims/base/_variables.scss +++ b/common/static/sass/edx-pattern-library-shims/base/_variables.scss @@ -203,6 +203,7 @@ $btn-border-radius: $component-border-radius !default; $btn-large-padding-vertical: spacing-vertical(small); $btn-large-padding-horizontal: spacing-horizontal(mid-large); + $btn-base-padding-vertical: spacing-vertical(x-small); $btn-base-padding-horizontal: spacing-horizontal(base); $btn-base-font-size: font-size(base); diff --git a/lms/djangoapps/courseware/views/views.py b/lms/djangoapps/courseware/views/views.py index a07ebac5ce..8266ec65a0 100644 --- a/lms/djangoapps/courseware/views/views.py +++ b/lms/djangoapps/courseware/views/views.py @@ -30,7 +30,6 @@ from courseware.courses import ( sort_by_announcement, sort_by_start_date ) -from courseware.date_summary import VerifiedUpgradeDeadlineDate from courseware.masquerade import setup_masquerade from courseware.model_data import FieldDataCache from courseware.models import BaseStudentModuleHistory, StudentModule @@ -404,9 +403,6 @@ def course_info(request, course_id): return render_to_response('courseware/info.html', context) -UPGRADE_COOKIE_NAME = 'show_upgrade_notification' - - class StaticCourseTabView(EdxFragmentView): """ View that displays a static course tab with a given name. diff --git a/lms/static/js/courseware/course_home_events.js b/lms/static/js/courseware/course_home_events.js index 2902292de7..2485e393a1 100644 --- a/lms/static/js/courseware/course_home_events.js +++ b/lms/static/js/courseware/course_home_events.js @@ -11,12 +11,6 @@ $('.date-summary-verified-upgrade-deadline .date-summary-link').on('click', function() { Logger.log('edx.course.enrollment.upgrade.clicked', {location: 'sidebar'}); }); - $('.upgrade-banner-button').on('click', function() { - Logger.log('edx.course.enrollment.upgrade.clicked', {location: 'notification'}); - }); - $('.view-verified-info').on('click', function() { - Logger.log('edx.course.home.learn_about_verified.clicked', {location: 'notification'}); - }); }; }); }).call(this, define || RequireJS.define); diff --git a/lms/static/js/fixtures/courseware/course_home_events.html b/lms/static/js/fixtures/courseware/course_home_events.html index a86ab48b53..e115db5f41 100644 --- a/lms/static/js/fixtures/courseware/course_home_events.html +++ b/lms/static/js/fixtures/courseware/course_home_events.html @@ -1,21 +1,3 @@ -
-