From c2a93c6c0239c1294be4d0c59922fd619e839e18 Mon Sep 17 00:00:00 2001 From: Jannat Patel Date: Thu, 9 Jun 2022 16:39:29 +0530 Subject: [PATCH] fix: course card template icon and translation --- .../course_cards/course_cards.html | 25 ++++++++++--------- 1 file changed, 13 insertions(+), 12 deletions(-) diff --git a/lms/lms/web_template/course_cards/course_cards.html b/lms/lms/web_template/course_cards/course_cards.html index 93576695..cb532555 100644 --- a/lms/lms/web_template/course_cards/course_cards.html +++ b/lms/lms/web_template/course_cards/course_cards.html @@ -1,14 +1,15 @@
-

{{ title }}

-
- {% for course_row in courses %} - {% set course = frappe.db.get_value("LMS Course", course_row.course, - ["name", "upcoming", "title", "image", "enable_certification", "paid_certificate", "price_certificate", "currency"], as_dict=True) %} - {{ widgets.CourseCard(course=course, read_only=False) }} - {% endfor %} -
- - {{ _("Explore More") }} - - + {% include "public/icons/symbol-defs.svg" %} +

{{ _(title) }}

+
+ {% for course_row in courses %} + {% set course = frappe.db.get_value("LMS Course", course_row.course, + ["name", "upcoming", "title", "image", "enable_certification", "paid_certificate", "price_certificate", "currency"], as_dict=True) %} + {{ widgets.CourseCard(course=course, read_only=False) }} + {% endfor %} +
+ + {{ _("Explore More") }} + +