fix: profile page fixes and course completion tick

This commit is contained in:
pateljannat
2021-07-15 11:16:01 +05:30
parent ec852fc255
commit 4891be1d8c
15 changed files with 598 additions and 50 deletions

View File

@@ -167,7 +167,8 @@ whitelist = [
"/add-a-new-batch",
"/new-sign-up",
"/message",
"/about"
"/about",
"/edit-profile"
]
whitelist_rules = [{"from_route": p, "to_route": p[1:]} for p in whitelist]
@@ -178,6 +179,10 @@ profile_rules = [
website_route_rules = primary_rules + whitelist_rules + profile_rules
website_redirects = [
{"source": "/update-profile", "target": "/edit-profile"},
]
update_website_context = 'community.widgets.update_website_context'
## Specify the additional tabs to be included in the user profile page.