Renamed the doctypes in LMS.

The prefix has been changed from "Community" to "LMS".

Issue #7
This commit is contained in:
Anand Chitipothu
2021-03-05 07:38:35 +00:00
parent 0fcba82030
commit ca621e07b7
15 changed files with 16 additions and 16 deletions

View File

@@ -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('Community Course', { frappe.ui.form.on('LMS Course', {
// refresh: function(frm) { // refresh: function(frm) {
// } // }

View File

@@ -39,7 +39,7 @@
"modified": "2021-03-05 11:01:09.327111", "modified": "2021-03-05 11:01:09.327111",
"modified_by": "Administrator", "modified_by": "Administrator",
"module": "LMS", "module": "LMS",
"name": "Community Course", "name": "LMS Course",
"owner": "Administrator", "owner": "Administrator",
"permissions": [ "permissions": [
{ {

View File

@@ -6,5 +6,5 @@ from __future__ import unicode_literals
# import frappe # import frappe
from frappe.model.document import Document from frappe.model.document import Document
class CommunityCourse(Document): class LMSCourse(Document):
pass pass

View File

@@ -6,5 +6,5 @@ from __future__ import unicode_literals
# import frappe # import frappe
import unittest import unittest
class TestCommunityCourse(unittest.TestCase): class TestLMSCourse(unittest.TestCase):
pass pass

View File

@@ -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('Community Course Topic', { frappe.ui.form.on('LMS Course Enrollment', {
// refresh: function(frm) { // refresh: function(frm) {
// } // }

View File

@@ -13,7 +13,7 @@
"fieldname": "course", "fieldname": "course",
"fieldtype": "Link", "fieldtype": "Link",
"label": "Course", "label": "Course",
"options": "Community Course" "options": "LMS Course"
}, },
{ {
"fieldname": "user", "fieldname": "user",
@@ -24,10 +24,10 @@
], ],
"index_web_pages_for_search": 1, "index_web_pages_for_search": 1,
"links": [], "links": [],
"modified": "2021-03-05 11:00:53.879144", "modified": "2021-03-05 12:59:22.973826",
"modified_by": "Administrator", "modified_by": "Administrator",
"module": "LMS", "module": "LMS",
"name": "Community Course Enrollment", "name": "LMS Course Enrollment",
"owner": "Administrator", "owner": "Administrator",
"permissions": [ "permissions": [
{ {

View File

@@ -6,5 +6,5 @@ from __future__ import unicode_literals
# import frappe # import frappe
from frappe.model.document import Document from frappe.model.document import Document
class CommunityCourseTopic(Document): class LMSCourseEnrollment(Document):
pass pass

View File

@@ -6,5 +6,5 @@ from __future__ import unicode_literals
# import frappe # import frappe
import unittest import unittest
class TestCommunityCourseTopic(unittest.TestCase): class TestLMSCourseEnrollment(unittest.TestCase):
pass pass

View File

@@ -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('Community Course Enrollment', { frappe.ui.form.on('LMS Topic', {
// refresh: function(frm) { // refresh: function(frm) {
// } // }

View File

@@ -30,7 +30,7 @@
"fieldtype": "Link", "fieldtype": "Link",
"in_list_view": 1, "in_list_view": 1,
"label": "Course", "label": "Course",
"options": "Community Course", "options": "LMS Course",
"reqd": 1 "reqd": 1
}, },
{ {
@@ -41,10 +41,10 @@
], ],
"index_web_pages_for_search": 1, "index_web_pages_for_search": 1,
"links": [], "links": [],
"modified": "2021-03-05 11:01:28.215352", "modified": "2021-03-05 12:59:22.817471",
"modified_by": "Administrator", "modified_by": "Administrator",
"module": "LMS", "module": "LMS",
"name": "Community Course Topic", "name": "LMS Topic",
"owner": "Administrator", "owner": "Administrator",
"permissions": [ "permissions": [
{ {

View File

@@ -6,5 +6,5 @@ from __future__ import unicode_literals
# import frappe # import frappe
from frappe.model.document import Document from frappe.model.document import Document
class CommunityCourseEnrollment(Document): class LMSTopic(Document):
pass pass

View File

@@ -6,5 +6,5 @@ from __future__ import unicode_literals
# import frappe # import frappe
import unittest import unittest
class TestCommunityCourseEnrollment(unittest.TestCase): class TestLMSTopic(unittest.TestCase):
pass pass