diff --git a/lms/www/cohorts/cohort.html b/lms/www/cohorts/cohort.html index 7e1672a1..f604ce2d 100644 --- a/lms/www/cohorts/cohort.html +++ b/lms/www/cohorts/cohort.html @@ -6,8 +6,8 @@ course.title }} {% endblock %} {% block page_content %} {{ frappe.db.count("Cohort Subgroup", {"cohort": cohort.name}) }} {{ _("Subgroups") }} | {{ frappe.db.count("Cohort Mentor", {"cohort": cohort.name}) }} {{ _("Mentors") }} | {{ frappe.db.count("LMS Enrollment", - {"cohort": cohort.name}) }} {{ _("Students") }} | {{ frappe.db.count("Cohort - Join Request", {"cohort": cohort.name}) }} {{ _("Join Requests") }} + {"cohort": cohort.name}) }} {{ _("Students") }} + | {{ frappe.db.count("Cohort Join Request", {"cohort": cohort.name}) }} {{ _("Join Requests") }}

{% if is_mentor %} {% set sg = mentor.get_subgroup() %} diff --git a/lms/www/cohorts/index.html b/lms/www/cohorts/index.html index 55c3233f..c9d4f287 100644 --- a/lms/www/cohorts/index.html +++ b/lms/www/cohorts/index.html @@ -24,9 +24,9 @@ course.title }} {% endblock %} {% block page_content %} {% if cohorts %}

{{ frappe.db.count("Cohort Subgroup", {"cohort": cohort.name}) }} {{ _("Subgroups") }} | {{ frappe.db.count("Cohort Mentor", {"cohort": - cohort.name}) }} {{ _("Mentors") }} | {{ frappe.db.count("LMS - Enrollment", {"cohort": cohort.name}) }} {{ _("Students") }} | {{ - frappe.db.count("Cohort Join Request", {"cohort": cohort.name}) }} + cohort.name}) }} {{ _("Mentors") }} + | {{ frappe.db.count("LMS Enrollment", {"cohort": cohort.name}) }} {{ _("Students") }} + | {{ frappe.db.count("Cohort Join Request", {"cohort": cohort.name}) }} {{ _("Join Requests") }}