diff --git a/lms/lms/doctype/lms_course/lms_course.json b/lms/lms/doctype/lms_course/lms_course.json index daeec692..f951d788 100644 --- a/lms/lms/doctype/lms_course/lms_course.json +++ b/lms/lms/doctype/lms_course/lms_course.json @@ -58,7 +58,7 @@ }, { "fieldname": "description", - "fieldtype": "Markdown Editor", + "fieldtype": "Text Editor", "label": "Description", "reqd": 1 }, @@ -261,7 +261,7 @@ } ], "make_attachments_public": 1, - "modified": "2023-05-09 17:08:19.763405", + "modified": "2023-05-11 17:08:19.763405", "modified_by": "Administrator", "module": "LMS", "name": "LMS Course", diff --git a/lms/patches.txt b/lms/patches.txt index 3fe84429..dcd27ed3 100644 --- a/lms/patches.txt +++ b/lms/patches.txt @@ -53,3 +53,4 @@ lms.patches.v0_0.add_evaluator_to_assignment #09-04-2023 lms.patches.v0_0.share_certificates execute:frappe.delete_doc("Web Form", "class", ignore_missing=True, force=True) lms.patches.v0_0.amend_course_and_lesson_editor_fields +lms.patches.v0_0.convert_course_description_to_html #11-05-2023 diff --git a/lms/public/css/style.css b/lms/public/css/style.css index 51e97f51..f3b45f98 100644 --- a/lms/public/css/style.css +++ b/lms/public/css/style.css @@ -1398,16 +1398,16 @@ pre { } .course-overlay-card { - background-color: white; - border-radius: var(--border-radius-lg); - box-shadow: var(--shadow-sm); - overflow: auto; - width: fit-content; - position: absolute; - top: 10%; - right: 7%; - max-width: 350px; - z-index: 4; + background-color: white; + border-radius: var(--border-radius-lg); + border: 1px solid var(--gray-300); + overflow: auto; + width: fit-content; + position: absolute; + top: 10%; + right: 7%; + width: 350px; + z-index: 4; } @media (max-width: 1000px) { diff --git a/lms/www/courses/course.html b/lms/www/courses/course.html index b89868cb..f25be918 100644 --- a/lms/www/courses/course.html +++ b/lms/www/courses/course.html @@ -129,14 +129,12 @@ {{ format_number(get_students(course.name) | length) }} {{ _("Enrolled") }} - {% if get_lessons(course.name) | length %}