Add Handlungsfelder SVGs
|
|
@ -85,7 +85,7 @@ function hasMoreItemsForType<T>(itemType: MediaBlockType, items: T[]) {
|
|||
<div>
|
||||
<img
|
||||
class="float-left hidden md:mt-8 md:block lg:float-right lg:mt-0 lg:max-w-[505px]"
|
||||
:src="`/static/icons/demo/${mediaCategory.detail_image}.png`"
|
||||
:src="`/static/icons/handlungsfelder/${mediaCategory.detail_image}.svg`"
|
||||
alt=""
|
||||
/>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -42,7 +42,7 @@ def create_default_media_library(course_id=COURSE_VERSICHERUNGSVERMITTLERIN_OLD_
|
|||
]
|
||||
for idx, cat in enumerate(course.coursecategory_set.all()):
|
||||
overview_icon = icons[(idx + len(icons) - 1) % len(icons)]
|
||||
detail_image = overview_icon.replace("icon", "image")
|
||||
detail_image = f"{overview_icon}-detail"
|
||||
|
||||
if cat.title == "Fahrzeug":
|
||||
media_category = MediaCategoryPageFactory(
|
||||
|
|
@ -294,4 +294,5 @@ Diese können negative Folgen verschiedener Art nach sich ziehen, darunter recht
|
|||
title=cat.title,
|
||||
course_category=cat,
|
||||
parent=media_lib_page,
|
||||
detail_image=detail_image,
|
||||
)
|
||||
|
|
|
|||
|
Before Width: | Height: | Size: 12 KiB |
|
Before Width: | Height: | Size: 31 KiB |
|
Before Width: | Height: | Size: 240 KiB |
|
Before Width: | Height: | Size: 282 KiB |
|
After Width: | Height: | Size: 70 KiB |
|
After Width: | Height: | Size: 116 KiB |
|
After Width: | Height: | Size: 67 KiB |
|
After Width: | Height: | Size: 123 KiB |
|
After Width: | Height: | Size: 256 KiB |
|
After Width: | Height: | Size: 100 KiB |
|
After Width: | Height: | Size: 103 KiB |
|
After Width: | Height: | Size: 130 KiB |
|
After Width: | Height: | Size: 65 KiB |
|
After Width: | Height: | Size: 130 KiB |
|
After Width: | Height: | Size: 94 KiB |
|
After Width: | Height: | Size: 285 KiB |