feat: added support for custom web pages for cohorts

This allows adding custom web pages to each cohort by defining a web
template and attaching it to the cohort.

Issue #271
This commit is contained in:
Anand Chitipothu
2021-12-04 23:47:29 +05:30
parent 22f5508bea
commit a1d0f3948a
8 changed files with 122 additions and 5 deletions

View File

@@ -30,3 +30,4 @@ def get_context(context):
context.mentor = mentor
context.is_mentor = is_mentor
context.is_admin = is_admin
context.page = frappe.form_dict.get("page") or ""