From 68fd32d536e84fe0378994004754d19c7d5d63e4 Mon Sep 17 00:00:00 2001 From: pateljannat Date: Tue, 6 Jul 2021 18:13:09 +0530 Subject: [PATCH] fix: links and breadcrumbs --- community/lms/widgets/BreadCrumb.html | 13 +++++++++++++ community/public/css/style.css | 6 +++++- community/www/batch/learn.html | 4 ++++ community/www/courses/course.html | 8 +------- 4 files changed, 23 insertions(+), 8 deletions(-) create mode 100644 community/lms/widgets/BreadCrumb.html diff --git a/community/lms/widgets/BreadCrumb.html b/community/lms/widgets/BreadCrumb.html new file mode 100644 index 00000000..549909d2 --- /dev/null +++ b/community/lms/widgets/BreadCrumb.html @@ -0,0 +1,13 @@ + diff --git a/community/public/css/style.css b/community/public/css/style.css index b928ba28..0ca22787 100644 --- a/community/public/css/style.css +++ b/community/public/css/style.css @@ -899,6 +899,10 @@ div.custom-checkbox>label>input:checked+img { color: inherit; } -.breadcrum { +.dark-links:hover { + color: inherit; +} + +.breadcrumb { margin: 16px 10px 16px; } diff --git a/community/www/batch/learn.html b/community/www/batch/learn.html index a9c08b02..2e9c56ac 100644 --- a/community/www/batch/learn.html +++ b/community/www/batch/learn.html @@ -20,7 +20,11 @@ {% block content %} +
+
+
+
{{ widgets.BatchTabs(course=course, membership=membership) }}
diff --git a/community/www/courses/course.html b/community/www/courses/course.html index f9e2b570..9d99c556 100644 --- a/community/www/courses/course.html +++ b/community/www/courses/course.html @@ -10,7 +10,7 @@ {% block content %}
- {{ BreadCrum(course) }} + {{ widgets.BreadCrumb(course=course) }} {{ CourseCardWide(course) }} {{ CourseOutlineAndCreator(course) }} {{ Mentors(course) }} @@ -20,12 +20,6 @@
{% endblock %} -{% macro BreadCrum(course) %} -
- All Courses > {{ course.title }} -
-{% endmacro %} - {% macro CourseCardWide(course) %}