diff --git a/frontend/src/pages/Lesson.vue b/frontend/src/pages/Lesson.vue index 6bef3c0d..2a8a9523 100644 --- a/frontend/src/pages/Lesson.vue +++ b/frontend/src/pages/Lesson.vue @@ -783,11 +783,11 @@ const isAdmin = computed(() => { const allowEdit = () => { if (window.read_only_mode) return false - if (isAdmin.value) return true - return false + return isAdmin.value } const allowInstructorContent = () => { + if (window.read_only_mode) return false return isAdmin.value } diff --git a/lms/desktop_icon/frappe_lms.json b/lms/desktop_icon/frappe_learning.json similarity index 82% rename from lms/desktop_icon/frappe_lms.json rename to lms/desktop_icon/frappe_learning.json index f137321c..72f5b16d 100644 --- a/lms/desktop_icon/frappe_lms.json +++ b/lms/desktop_icon/frappe_learning.json @@ -6,14 +6,15 @@ "hidden": 0, "icon_type": "App", "idx": 0, - "label": "Frappe LMS", + "label": "Frappe Learning", "link": "/lms", "link_type": "External", "logo_url": "/assets/lms/frontend/learning.svg", "modified": "2025-12-15 14:31:50.704854", "modified_by": "Administrator", - "name": "Frappe LMS", + "name": "Frappe Learning", "owner": "Administrator", + "restrict_removal": 0, "roles": [], "standard": 1 } diff --git a/lms/hooks.py b/lms/hooks.py index 9f99e09d..3fc60642 100644 --- a/lms/hooks.py +++ b/lms/hooks.py @@ -5,7 +5,7 @@ from . import __version__ as app_version app_name = "frappe_lms" app_title = "Learning" app_publisher = "Frappe" -app_description = "Frappe LMS App" +app_description = "Open Source Learning Management System built with Frappe Framework" app_icon_url = "/assets/lms/images/lms-logo.png" app_icon_title = "Learning" app_color = "grey" diff --git a/lms/lms/workspace/lms/lms.json b/lms/lms/workspace/learning/learning.json similarity index 97% rename from lms/lms/workspace/lms/lms.json rename to lms/lms/workspace/learning/learning.json index 1912a7f3..42aee5ae 100644 --- a/lms/lms/workspace/lms/lms.json +++ b/lms/lms/workspace/learning/learning.json @@ -23,7 +23,7 @@ "icon": "education", "idx": 0, "is_hidden": 0, - "label": "LMS", + "label": "Learning", "links": [ { "hidden": 0, @@ -150,10 +150,10 @@ "type": "Link" } ], - "modified": "2025-12-08 13:23:09.718683", - "modified_by": "sayali@frappe.io", + "modified": "2026-02-23 12:27:25.010341", + "modified_by": "Administrator", "module": "LMS", - "name": "LMS", + "name": "Learning", "number_cards": [], "owner": "Administrator", "parent_page": "", @@ -217,6 +217,6 @@ "type": "DocType" } ], - "title": "LMS", + "title": "Learning", "type": "Workspace" }