From 3df08b99b30db40d0e0b08a3e2b728cc214ca18e Mon Sep 17 00:00:00 2001 From: Jannat Patel Date: Thu, 13 Oct 2022 17:28:22 +0530 Subject: [PATCH] fix: cohort translations --- lms/www/cohorts/cohort.html | 65 +++++++++++++++++------------------ lms/www/cohorts/subgroup.html | 2 +- 2 files changed, 33 insertions(+), 34 deletions(-) diff --git a/lms/www/cohorts/cohort.html b/lms/www/cohorts/cohort.html index 678e806e..e1f54b5d 100644 --- a/lms/www/cohorts/cohort.html +++ b/lms/www/cohorts/cohort.html @@ -18,8 +18,9 @@ {% if is_mentor %} {% set sg = mentor.get_subgroup() %}
- - {{ _("You are a mentor of {0} subgroup.").format(frappe.bold(sg.title)) }} + + {{ _("You are a mentor of {0} subgroup.").format(frappe.bold(sg.title)) }} +
{% endif %} @@ -42,38 +43,36 @@ {% endblock %} {% macro render_subgroups() %} - + {% endmacro %} {% macro render_navitem(title, link, page, count=-1) %} - + {% endmacro %} diff --git a/lms/www/cohorts/subgroup.html b/lms/www/cohorts/subgroup.html index 37ec133a..af105cca 100644 --- a/lms/www/cohorts/subgroup.html +++ b/lms/www/cohorts/subgroup.html @@ -108,7 +108,7 @@ {% endfor %} {% else %} -

There are no pending join requests.

+
{{ _("There are no pending join requests.") }}
{% endif %} {% set rejected_requests = subgroup.get_join_requests(status="Rejected") %}