Skip to content

Commit

Permalink
fix: cohorts
Browse files Browse the repository at this point in the history
  • Loading branch information
pateljannat committed Dec 14, 2023
1 parent 67dfffd commit 85c850e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions lms/www/cohorts/cohort.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
{{ 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") }}
</p>

{% if is_mentor %} {% set sg = mentor.get_subgroup() %}
Expand Down
6 changes: 3 additions & 3 deletions lms/www/cohorts/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,9 @@ <h6 class="card-subtitle mb-2 text-muted">
<p class="mb-0">
{{ 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") }}
</p>

Expand Down

0 comments on commit 85c850e

Please sign in to comment.