1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00

Merge pull request #326 from grafixeyehero/icon

Fix icon
This commit is contained in:
Anthony Lavado 2019-05-23 20:06:23 -04:00 committed by GitHub
commit edbe4c4345
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 42 additions and 22 deletions

View file

@ -1551,12 +1551,24 @@ define(['datetime', 'imageLoader', 'connectionManager', 'itemHelper', 'focusMana
if (collectionType === 'livetv') {
return '<i class="cardImageIcon md-icon">&#xE1B2;</i>';
}
if (collectionType === 'movies') {
return '<i class="cardImageIcon md-icon">&#xe04a;</i>';
}
if (collectionType === 'tvshows') {
return '<i class="cardImageIcon md-icon">&#xe333;</i>';
}
if (collectionType === 'homevideos' || collectionType === 'photos') {
return '<i class="cardImageIcon md-icon">&#xE412;</i>';
return '<i class="cardImageIcon md-icon">&#xe413;</i>';
}
if (collectionType === 'music') {
return '<i class="cardImageIcon md-icon">&#xE310;</i>';
}
if (collectionType === 'musicvideos') {
return '<i class="cardImageIcon md-icon">&#xe063;</i>';
}
if (collectionType === 'books') {
return '<i class="cardImageIcon md-icon">&#xe02f;</i>';
}
if (item.Type === 'MusicAlbum') {
return '<i class="cardImageIcon md-icon">&#xE019;</i>';
}