Fixed Add media type class in macro media_list_item_slider

Steve F

Well-known member
It would be nice to expose the media type in a class inside the slider (also used for widgets) so the correct icon can be shown for audio items with no thumbnail.

Currently in 2.0 Beta 6 it looks like this:
1508233815303.webp

After adding itemList-item--{$mediaItem.media_type} to the media_list_item_slider macro you get the normal icon.
1508234000323.webp
 
Back
Top Bottom