fix: course card template icon and translation
This commit is contained in:
@@ -1,14 +1,15 @@
|
||||
<div>
|
||||
<h2 class="section-title">{{ title }}</h2>
|
||||
<div class="cards-parent mt-10">
|
||||
{% 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 %}
|
||||
</div>
|
||||
<a class="d-flex justify-content-center align-items-center mt-12" href="/courses">
|
||||
<span>{{ _("Explore More") }}</span>
|
||||
<img src="/assets/lms/icons/blue-arrow.svg" class="ml-2"/>
|
||||
</a>
|
||||
{% include "public/icons/symbol-defs.svg" %}
|
||||
<h2 class="section-title">{{ _(title) }}</h2>
|
||||
<div class="cards-parent mt-10">
|
||||
{% 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 %}
|
||||
</div>
|
||||
<a class="d-flex justify-content-center align-items-center mt-12" href="/courses">
|
||||
<span>{{ _("Explore More") }}</span>
|
||||
<img src="/assets/lms/icons/blue-arrow.svg" class="ml-2"/>
|
||||
</a>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user