feat: add courses index page + backend update

This commit is contained in:
swve 2022-10-01 10:16:35 +02:00
parent 86fdd89b23
commit 4b623ae1b8
14 changed files with 218 additions and 50 deletions

View file

@ -73,7 +73,7 @@ async def check_element_type(element_id):
elif element_id.startswith("org_"):
return "organizations"
elif element_id.startswith("coursechapter_"):
return "courses"
return "coursechapters"
elif element_id.startswith("collection_"):
return "collections"
else: