mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
commit
edbe4c4345
5 changed files with 42 additions and 22 deletions
|
@ -1551,12 +1551,24 @@ define(['datetime', 'imageLoader', 'connectionManager', 'itemHelper', 'focusMana
|
|||
if (collectionType === 'livetv') {
|
||||
return '<i class="cardImageIcon md-icon"></i>';
|
||||
}
|
||||
if (collectionType === 'movies') {
|
||||
return '<i class="cardImageIcon md-icon"></i>';
|
||||
}
|
||||
if (collectionType === 'tvshows') {
|
||||
return '<i class="cardImageIcon md-icon"></i>';
|
||||
}
|
||||
if (collectionType === 'homevideos' || collectionType === 'photos') {
|
||||
return '<i class="cardImageIcon md-icon"></i>';
|
||||
return '<i class="cardImageIcon md-icon"></i>';
|
||||
}
|
||||
if (collectionType === 'music') {
|
||||
return '<i class="cardImageIcon md-icon"></i>';
|
||||
}
|
||||
if (collectionType === 'musicvideos') {
|
||||
return '<i class="cardImageIcon md-icon"></i>';
|
||||
}
|
||||
if (collectionType === 'books') {
|
||||
return '<i class="cardImageIcon md-icon"></i>';
|
||||
}
|
||||
if (item.Type === 'MusicAlbum') {
|
||||
return '<i class="cardImageIcon md-icon"></i>';
|
||||
}
|
||||
|
|
|
@ -198,37 +198,37 @@ define(['connectionManager', 'cardBuilder', 'appSettings', 'dom', 'apphost', 'la
|
|||
var icon;
|
||||
switch (item.CollectionType) {
|
||||
case "movies":
|
||||
icon = "local_movies";
|
||||
icon = "video_library";
|
||||
break;
|
||||
case "music":
|
||||
icon = "library_music";
|
||||
break;
|
||||
case "photos":
|
||||
icon = "photo";
|
||||
icon = "photo_library";
|
||||
break;
|
||||
case "livetv":
|
||||
icon = "live_tv";
|
||||
break;
|
||||
case "tvshows":
|
||||
icon = "live_tv";
|
||||
icon = "tv";
|
||||
break;
|
||||
case "trailers":
|
||||
icon = "local_movies";
|
||||
break;
|
||||
case "homevideos":
|
||||
icon = "video_library";
|
||||
icon = "photo_library";
|
||||
break;
|
||||
case "musicvideos":
|
||||
icon = "video_library";
|
||||
icon = "music_video";
|
||||
break;
|
||||
case "books":
|
||||
icon = "folder";
|
||||
icon = "library_books";
|
||||
break;
|
||||
case "channels":
|
||||
icon = "folder";
|
||||
icon = "videocam";
|
||||
break;
|
||||
case "playlists":
|
||||
icon = "folder";
|
||||
icon = "view_list";
|
||||
break;
|
||||
default:
|
||||
icon = "folder";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue