From f9b2fb6717cd35bebb82d4c4732bb51a382b00fb Mon Sep 17 00:00:00 2001 From: scmmishra Date: Mon, 12 Nov 2018 12:50:54 +0530 Subject: [PATCH] Fixed course and content page --- .../course_enrollment/course_enrollment.json | 4 +- .../academy/components/AcademyCourseCard.vue | 64 ++++++------------- .../components/AcademyCourseCardButton.vue | 4 +- .../components/AcademyTopSectionButton.vue | 14 ++-- .../academy/components/ContentNavigation.vue | 12 ++-- .../academy/components/ContentQuiz.vue | 2 +- .../academy/pages/AcademyCoursePage.vue | 2 +- .../academy/pages/AcademyProgramPage.vue | 25 ++++---- erpnext/public/js/education/academy/routes.js | 2 +- erpnext/www/academy.py | 29 +++++---- 10 files changed, 67 insertions(+), 91 deletions(-) diff --git a/erpnext/education/doctype/course_enrollment/course_enrollment.json b/erpnext/education/doctype/course_enrollment/course_enrollment.json index 5de7f21493..a5b4289dca 100644 --- a/erpnext/education/doctype/course_enrollment/course_enrollment.json +++ b/erpnext/education/doctype/course_enrollment/course_enrollment.json @@ -62,7 +62,7 @@ "in_filter": 0, "in_global_search": 0, "in_list_view": 0, - "in_standard_filter": 0, + "in_standard_filter": 1, "label": "Student", "length": 0, "no_copy": 0, @@ -190,7 +190,7 @@ "issingle": 0, "istable": 0, "max_attachments": 0, - "modified": "2018-11-07 21:16:34.764628", + "modified": "2018-11-09 19:23:07.967967", "modified_by": "Administrator", "module": "Education", "name": "Course Enrollment", diff --git a/erpnext/public/js/education/academy/components/AcademyCourseCard.vue b/erpnext/public/js/education/academy/components/AcademyCourseCard.vue index eda382f4fa..16ffc558d2 100644 --- a/erpnext/public/js/education/academy/components/AcademyCourseCard.vue +++ b/erpnext/public/js/education/academy/components/AcademyCourseCard.vue @@ -11,29 +11,13 @@ -
- - +
- Completed - - - Start + {{ courseMeta.flag }}
@@ -42,44 +26,36 @@