diff --git a/common/lib/xmodule/xmodule/modulestore/tests/sample_courses.py b/common/lib/xmodule/xmodule/modulestore/tests/sample_courses.py index 752c61eada..b46460b976 100644 --- a/common/lib/xmodule/xmodule/modulestore/tests/sample_courses.py +++ b/common/lib/xmodule/xmodule/modulestore/tests/sample_courses.py @@ -51,7 +51,7 @@ TOY_BLOCK_INFO_TREE = [ }, [ BlockInfo( "secret:toylab", "html", { - "data": "Lab 2A: Superposition Experiment\n\n<<<<<<< Updated upstream\n
Isn't the toy course great?
\n\nLet's add some markup that uses non-ascii characters.\nFor example, we should be able to write words like encyclopædia, or foreign words like français.\nLooking beyond latin-1, we should handle math symbols: πr² ≤ ∞.\nAnd it shouldn't matter if we use entities or numeric codes — Ω ≠ π ≡ Ω ≠ π.\n
\n=======\nIsn't the toy course great? — ≤
\n>>>>>>> Stashed changes\n", + "data": "Lab 2A: Superposition Experiment\n\n\nIsn't the toy course great?
\n\nLet's add some markup that uses non-ascii characters.\n'For example, we should be able to write words like encyclopædia, or foreign words like français.\nLooking beyond latin-1, we should handle math symbols: πr² ≤ ∞.\nAnd it shouldn't matter if we use entities or numeric codes — Ω ≠ π ≡ Ω ≠ π.\n
\n\n", # pylint: disable=line-too-long "xml_attributes": {"filename": ["html/secret/toylab.xml", "html/secret/toylab.xml"]}, "display_name": "Toy lab" }, [] diff --git a/lms/envs/common.py b/lms/envs/common.py index abdfdbd01a..4e72642093 100644 --- a/lms/envs/common.py +++ b/lms/envs/common.py @@ -364,6 +364,13 @@ FEATURES = { # Certificates Web/HTML Views 'CERTIFICATES_HTML_VIEW': False, + + # Social Media Sharing on Student Dashboard + 'DASHBOARD_SHARE_SETTINGS': { + 'FACEBOOK_SHARING': False, + 'TWITTER_SHARING': False, + 'TWITTER_SHARING_TEXT': None + }, } # Ignore static asset files on import which match this pattern diff --git a/lms/static/sass/multicourse/_dashboard.scss b/lms/static/sass/multicourse/_dashboard.scss index af6a01c3e0..2918e8adac 100644 --- a/lms/static/sass/multicourse/_dashboard.scss +++ b/lms/static/sass/multicourse/_dashboard.scss @@ -1,7 +1,7 @@ // lms - views - user/student dashboard // ==================== -// Table of Contents +// Table of Contents // * +Dashboard - Sidebar // * +Dashboard - Course Listing // * +Dashboard - Course Item @@ -10,7 +10,7 @@ // +Dashboard - Sidebar -// ==================== +// ==================== .dashboard { @include clearfix(); padding: ($baseline*2) 0 0 0; @@ -214,7 +214,7 @@ } // +Dashboard - Course Listing -// ==================== +// ==================== .dashboard { .my-courses { @include float(left); @@ -289,7 +289,7 @@ } // +Dashboard - Course -// ==================== +// ==================== .dashboard .my-courses { // UI: individual course item @@ -409,7 +409,6 @@ .course-actions { // UI: course item actions - .action { @include box-sizing(border-box); @include margin-right($baseline/2); @@ -419,7 +418,8 @@ border-radius: 3px; padding: 12px; border: 1px solid $white; - + text-align: center; + &:hover, &:focus { color: $gray-d3; border: 1px solid $gray-l4; @@ -447,7 +447,6 @@ position: relative; @include float(right); - .actions-dropdown { @extend %ui-no-list; @extend %ui-depth1; @@ -968,7 +967,7 @@ } } - // TYPE: pre-requisites + // TYPE: pre-requisites .prerequisites { @include clearfix; @@ -1069,7 +1068,7 @@ } // +Misc - Uncategorized -// ==================== +// ==================== .dashboard .my-courses { // status - language @@ -1256,7 +1255,7 @@ border:0; color:white; box-shadow:none; - + &.archived { @include button(simple, $button-archive-color); font: normal 15px/1.6rem $sans-serif; @@ -1279,8 +1278,8 @@ } // +Dashboard - Banner -// ==================== -.dashboard .my-courses { +// ==================== +.dashboard .my-courses { .dashboard-banner { &:empty { diff --git a/lms/templates/dashboard.html b/lms/templates/dashboard.html index 6aa2c15d5a..818baf536b 100644 --- a/lms/templates/dashboard.html +++ b/lms/templates/dashboard.html @@ -81,6 +81,7 @@ % if len(course_enrollment_pairs) > 0: