diff --git a/community/lms/widgets/CourseCard.html b/community/lms/widgets/CourseCard.html index 0ae258c9..38736ab0 100644 --- a/community/lms/widgets/CourseCard.html +++ b/community/lms/widgets/CourseCard.html @@ -10,9 +10,9 @@ {% endfor %} {% if membership and not read_only %} {% if progress < 100 %} -  
{{ frappe.utils.rounded(progress) }}% _("Completed")
+  
{{ frappe.utils.rounded(progress) }}% {{ _("Completed") }}
{% else %} -
_("Completed")
+
{{ _("Completed") }}
{% endif %} {% endif %} @@ -25,7 +25,7 @@
{% if course.get_chapters() | length %} - {{ course.get_chapters() | length }} _("Chapters") + {{ course.get_chapters() | length }} {{ _("Chapters") }} {% endif %} {% if course.get_chapters() | length and course.get_upcoming_batches() | length %} @@ -33,7 +33,7 @@ {% endif %} {% if course.get_upcoming_batches() | length %} - {{ course.get_upcoming_batches() | length }} _("Open Batches") + {{ course.get_upcoming_batches() | length }} {{ _("Open Batches") }} {% endif %}
@@ -81,30 +81,30 @@ {% elif course.enable_certification and progress == 100 %} {% elif progress == 100 %} {% elif course.upcoming %} {% elif membership %} {% else %}