Handle groups in cards

This commit is contained in:
I-Al-Istannen
2024-11-11 12:52:55 +01:00
parent 6dda4c55a8
commit 712217e959
2 changed files with 3 additions and 0 deletions

View File

@ -39,6 +39,7 @@ ambiguous situations.
- Downloading of links with no target URL - Downloading of links with no target URL
- Handle row flex on description pages - Handle row flex on description pages
- Add `<!DOCTYPE html>` heading to forum threads to fix mime type detection - Add `<!DOCTYPE html>` heading to forum threads to fix mime type detection
- Handle groups in cards
## 3.6.0 - 2024-10-23 ## 3.6.0 - 2024-10-23

View File

@ -998,6 +998,8 @@ class IliasPage:
return IliasElementType.OPENCAST_VIDEO_FOLDER_MAYBE_PAGINATED return IliasElementType.OPENCAST_VIDEO_FOLDER_MAYBE_PAGINATED
if "exc" in icon["class"]: if "exc" in icon["class"]:
return IliasElementType.EXERCISE return IliasElementType.EXERCISE
if "grp" in icon["class"]:
return IliasElementType.FOLDER
if "webr" in icon["class"]: if "webr" in icon["class"]:
return IliasElementType.LINK return IliasElementType.LINK
if "book" in icon["class"]: if "book" in icon["class"]: