From 37a55345fdaebb2266be6fe85eb42c62ad07759e Mon Sep 17 00:00:00 2001 From: Shivam Mishra Date: Thu, 25 Apr 2019 19:29:56 +0530 Subject: [PATCH 1/3] feat: removed home page for lms role --- erpnext/hooks.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/erpnext/hooks.py b/erpnext/hooks.py index ecc961186ad..47d205692c2 100644 --- a/erpnext/hooks.py +++ b/erpnext/hooks.py @@ -169,10 +169,6 @@ default_roles = [ {'role': 'Student', 'doctype':'Student', 'email_field': 'student_email_id'}, ] -role_home_page = { - "LMS User": "/lms" -} - has_website_permission = { "Sales Order": "erpnext.controllers.website_list_for_contact.has_website_permission", "Quotation": "erpnext.controllers.website_list_for_contact.has_website_permission", From 2428485ebb5a866a4a3283d17284b1b320c27984 Mon Sep 17 00:00:00 2001 From: Shivam Mishra Date: Thu, 25 Apr 2019 19:33:22 +0530 Subject: [PATCH 2/3] fix (ui): Card layout --- erpnext/public/js/education/lms/components/CourseCard.vue | 2 +- erpnext/public/js/education/lms/components/ProgramCard.vue | 2 +- erpnext/public/js/education/lms/components/ProgressCard.vue | 2 +- erpnext/public/js/education/lms/components/ScoreCard.vue | 2 +- erpnext/public/js/education/lms/components/TopicCard.vue | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/erpnext/public/js/education/lms/components/CourseCard.vue b/erpnext/public/js/education/lms/components/CourseCard.vue index 223654f27e8..16f8873bd1b 100644 --- a/erpnext/public/js/education/lms/components/CourseCard.vue +++ b/erpnext/public/js/education/lms/components/CourseCard.vue @@ -1,5 +1,5 @@