From 62968b318f21120804dd2baf56ae733dfe1ecdca Mon Sep 17 00:00:00 2001 From: scmmishra Date: Tue, 19 Feb 2019 18:25:07 +0530 Subject: [PATCH] wip --- erpnext/hooks.py | 6 ++-- .../js/education/lms/components/CardList.vue | 20 +++++++++--- .../education/lms/components/ProgramCard.vue | 12 ++++++- .../education/lms/components/TopSection.vue | 31 ++++++++++++------- .../public/js/education/lms/pages/Home.vue | 2 +- erpnext/public/node_modules | 1 + 6 files changed, 50 insertions(+), 22 deletions(-) create mode 120000 erpnext/public/node_modules diff --git a/erpnext/hooks.py b/erpnext/hooks.py index 6c42c5cfcdb..bdb0b31b4ba 100644 --- a/erpnext/hooks.py +++ b/erpnext/hooks.py @@ -169,9 +169,9 @@ default_roles = [ {'role': 'Student', 'doctype':'Student', 'email_field': 'student_email_id'}, ] -role_home_page = { - "LMS User": "/lms" -} +# role_home_page = { +# "LMS User": "/lms" +# } has_website_permission = { "Sales Order": "erpnext.controllers.website_list_for_contact.has_website_permission", diff --git a/erpnext/public/js/education/lms/components/CardList.vue b/erpnext/public/js/education/lms/components/CardList.vue index 00ea5afc19f..21a23dfa7ae 100644 --- a/erpnext/public/js/education/lms/components/CardList.vue +++ b/erpnext/public/js/education/lms/components/CardList.vue @@ -1,8 +1,8 @@