fix: indentation
This commit is contained in:
@@ -1,7 +1,7 @@
|
|||||||
// Copyright (c) 2021, FOSS United and contributors
|
// Copyright (c) 2021, FOSS United and contributors
|
||||||
// For license information, please see license.txt
|
// For license information, please see license.txt
|
||||||
|
|
||||||
frappe.ui.form.on('Course Lesson', {
|
frappe.ui.form.on('Lesson', {
|
||||||
setup: function (frm) {
|
setup: function (frm) {
|
||||||
frm.trigger('setup_help');
|
frm.trigger('setup_help');
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -44,7 +44,6 @@ class Lesson(Document):
|
|||||||
ex.save()
|
ex.save()
|
||||||
|
|
||||||
def render_html(self):
|
def render_html(self):
|
||||||
print(self.body)
|
|
||||||
return markdown_to_html(self.body)
|
return markdown_to_html(self.body)
|
||||||
|
|
||||||
def get_exercises(self):
|
def get_exercises(self):
|
||||||
|
|||||||
@@ -6,8 +6,10 @@ community.patches.replace_member_with_user_in_batch_membership
|
|||||||
community.patches.replace_member_with_user_in_course_mentor_mapping
|
community.patches.replace_member_with_user_in_course_mentor_mapping
|
||||||
community.patches.replace_member_with_user_in_lms_message
|
community.patches.replace_member_with_user_in_lms_message
|
||||||
community.patches.replace_member_with_user_in_mentor_request
|
community.patches.replace_member_with_user_in_mentor_request
|
||||||
|
community.patches.v0_0.chapter_lesson_index_table
|
||||||
execute:frappe.delete_doc("DocType", "LMS Message")
|
execute:frappe.delete_doc("DocType", "LMS Message")
|
||||||
community.patches.v0_0.course_instructor_update
|
community.patches.v0_0.course_instructor_update
|
||||||
execute:frappe.delete_doc("DocType", "Discussion Message")
|
execute:frappe.delete_doc("DocType", "Discussion Message")
|
||||||
execute:frappe.delete_doc("DocType", "Discussion Thread")
|
execute:frappe.delete_doc("DocType", "Discussion Thread")
|
||||||
|
community.patches.v0_0.rename_chapters_and_lessons_doctype
|
||||||
community.patches.v0_0.rename_chapter_and_lesson_doctype #29-09-2021
|
community.patches.v0_0.rename_chapter_and_lesson_doctype #29-09-2021
|
||||||
|
|||||||
Reference in New Issue
Block a user