fix: course card template icon and translation
This commit is contained in:
@@ -1,14 +1,15 @@
|
|||||||
<div>
|
<div>
|
||||||
<h2 class="section-title">{{ title }}</h2>
|
{% include "public/icons/symbol-defs.svg" %}
|
||||||
<div class="cards-parent mt-10">
|
<h2 class="section-title">{{ _(title) }}</h2>
|
||||||
{% for course_row in courses %}
|
<div class="cards-parent mt-10">
|
||||||
{% set course = frappe.db.get_value("LMS Course", course_row.course,
|
{% for course_row in courses %}
|
||||||
["name", "upcoming", "title", "image", "enable_certification", "paid_certificate", "price_certificate", "currency"], as_dict=True) %}
|
{% set course = frappe.db.get_value("LMS Course", course_row.course,
|
||||||
{{ widgets.CourseCard(course=course, read_only=False) }}
|
["name", "upcoming", "title", "image", "enable_certification", "paid_certificate", "price_certificate", "currency"], as_dict=True) %}
|
||||||
{% endfor %}
|
{{ widgets.CourseCard(course=course, read_only=False) }}
|
||||||
</div>
|
{% endfor %}
|
||||||
<a class="d-flex justify-content-center align-items-center mt-12" href="/courses">
|
</div>
|
||||||
<span>{{ _("Explore More") }}</span>
|
<a class="d-flex justify-content-center align-items-center mt-12" href="/courses">
|
||||||
<img src="/assets/lms/icons/blue-arrow.svg" class="ml-2"/>
|
<span>{{ _("Explore More") }}</span>
|
||||||
</a>
|
<img src="/assets/lms/icons/blue-arrow.svg" class="ml-2"/>
|
||||||
|
</a>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user