Renamed the doctypes in LMS.
The prefix has been changed from "Community" to "LMS". Issue #7
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
// Copyright (c) 2021, FOSS United and contributors
|
||||
// For license information, please see license.txt
|
||||
|
||||
frappe.ui.form.on('Community Course', {
|
||||
frappe.ui.form.on('LMS Course', {
|
||||
// refresh: function(frm) {
|
||||
|
||||
// }
|
||||
@@ -39,7 +39,7 @@
|
||||
"modified": "2021-03-05 11:01:09.327111",
|
||||
"modified_by": "Administrator",
|
||||
"module": "LMS",
|
||||
"name": "Community Course",
|
||||
"name": "LMS Course",
|
||||
"owner": "Administrator",
|
||||
"permissions": [
|
||||
{
|
||||
@@ -6,5 +6,5 @@ from __future__ import unicode_literals
|
||||
# import frappe
|
||||
from frappe.model.document import Document
|
||||
|
||||
class CommunityCourse(Document):
|
||||
class LMSCourse(Document):
|
||||
pass
|
||||
@@ -6,5 +6,5 @@ from __future__ import unicode_literals
|
||||
# import frappe
|
||||
import unittest
|
||||
|
||||
class TestCommunityCourse(unittest.TestCase):
|
||||
class TestLMSCourse(unittest.TestCase):
|
||||
pass
|
||||
@@ -1,7 +1,7 @@
|
||||
// Copyright (c) 2021, FOSS United and contributors
|
||||
// For license information, please see license.txt
|
||||
|
||||
frappe.ui.form.on('Community Course Topic', {
|
||||
frappe.ui.form.on('LMS Course Enrollment', {
|
||||
// refresh: function(frm) {
|
||||
|
||||
// }
|
||||
@@ -13,7 +13,7 @@
|
||||
"fieldname": "course",
|
||||
"fieldtype": "Link",
|
||||
"label": "Course",
|
||||
"options": "Community Course"
|
||||
"options": "LMS Course"
|
||||
},
|
||||
{
|
||||
"fieldname": "user",
|
||||
@@ -24,10 +24,10 @@
|
||||
],
|
||||
"index_web_pages_for_search": 1,
|
||||
"links": [],
|
||||
"modified": "2021-03-05 11:00:53.879144",
|
||||
"modified": "2021-03-05 12:59:22.973826",
|
||||
"modified_by": "Administrator",
|
||||
"module": "LMS",
|
||||
"name": "Community Course Enrollment",
|
||||
"name": "LMS Course Enrollment",
|
||||
"owner": "Administrator",
|
||||
"permissions": [
|
||||
{
|
||||
@@ -6,5 +6,5 @@ from __future__ import unicode_literals
|
||||
# import frappe
|
||||
from frappe.model.document import Document
|
||||
|
||||
class CommunityCourseTopic(Document):
|
||||
class LMSCourseEnrollment(Document):
|
||||
pass
|
||||
@@ -6,5 +6,5 @@ from __future__ import unicode_literals
|
||||
# import frappe
|
||||
import unittest
|
||||
|
||||
class TestCommunityCourseTopic(unittest.TestCase):
|
||||
class TestLMSCourseEnrollment(unittest.TestCase):
|
||||
pass
|
||||
@@ -1,7 +1,7 @@
|
||||
// Copyright (c) 2021, FOSS United and contributors
|
||||
// For license information, please see license.txt
|
||||
|
||||
frappe.ui.form.on('Community Course Enrollment', {
|
||||
frappe.ui.form.on('LMS Topic', {
|
||||
// refresh: function(frm) {
|
||||
|
||||
// }
|
||||
@@ -30,7 +30,7 @@
|
||||
"fieldtype": "Link",
|
||||
"in_list_view": 1,
|
||||
"label": "Course",
|
||||
"options": "Community Course",
|
||||
"options": "LMS Course",
|
||||
"reqd": 1
|
||||
},
|
||||
{
|
||||
@@ -41,10 +41,10 @@
|
||||
],
|
||||
"index_web_pages_for_search": 1,
|
||||
"links": [],
|
||||
"modified": "2021-03-05 11:01:28.215352",
|
||||
"modified": "2021-03-05 12:59:22.817471",
|
||||
"modified_by": "Administrator",
|
||||
"module": "LMS",
|
||||
"name": "Community Course Topic",
|
||||
"name": "LMS Topic",
|
||||
"owner": "Administrator",
|
||||
"permissions": [
|
||||
{
|
||||
@@ -6,5 +6,5 @@ from __future__ import unicode_literals
|
||||
# import frappe
|
||||
from frappe.model.document import Document
|
||||
|
||||
class CommunityCourseEnrollment(Document):
|
||||
class LMSTopic(Document):
|
||||
pass
|
||||
@@ -6,5 +6,5 @@ from __future__ import unicode_literals
|
||||
# import frappe
|
||||
import unittest
|
||||
|
||||
class TestCommunityCourseEnrollment(unittest.TestCase):
|
||||
class TestLMSTopic(unittest.TestCase):
|
||||
pass
|
||||
Reference in New Issue
Block a user