fix: profile and progress on dashboard

This commit is contained in:
pateljannat
2021-09-01 16:21:55 +05:30
parent cd4ffa2eff
commit 13b968e18c
19 changed files with 126 additions and 49 deletions

View File

@@ -21,7 +21,7 @@ app_license = "AGPL"
# include js, css files in header of web template
web_include_css = "community.bundle.css"
# web_include_css = "/assets/community/css/community.css"
# web_include_js = "/assets/community/js/community.js"
web_include_js = "website.bundle.js"
# include custom scss in every website theme (without file extension ".scss")
# website_theme_scss = "community/public/scss/website"
@@ -142,7 +142,8 @@ website_route_rules = [
{"from_route": "/courses/<course>/progress", "to_route": "batch/progress"},
{"from_route": "/courses/<course>/join", "to_route": "batch/join"},
{"from_route": "/discussions/<discussion>", "to_route": "discussions/discussion"},
{"from_route": "/user/<string(minlength=4):username>", "to_route": "profiles/profile"},
{"from_route": "/users/<string(minlength=4):username>", "to_route": "profiles/profile"},
{"from_route": "/users", "to_route": "profiles/profile"},
]
website_redirects = [