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

@ -323,13 +323,13 @@ define(["dom", "layoutManager", "inputManager", "connectionManager", "events", "
name: globalize.translate("TabLiveTV"),
href: "livetvstatus.html",
pageIds: ["liveTvStatusPage", "liveTvTunerPage"],
icon: "tv"
icon: "live_tv"
});
links.push({
name: globalize.translate("DVR"),
href: "livetvsettings.html",
pageIds: ["liveTvSettingsPage"],
icon: "list"
icon: "dvr"
});
links.push({
divider: true,
@ -534,13 +534,12 @@ define(["dom", "layoutManager", "inputManager", "connectionManager", "events", "
else if ("livetv" === i.CollectionType) {
itemId = "livetv";
}
else if ("photos" === i.CollectionType) {
icon = "photo_library";
}
else if ("music" === i.CollectionType || "musicvideos" === i.CollectionType) {
else if ("music" === i.CollectionType) {
icon = "library_music";
}
else if ("musicvideos" === i.CollectionType) {
icon = "music_video";
}
else if ("books" === i.CollectionType) {
icon = "library_books";
}
@ -550,6 +549,9 @@ define(["dom", "layoutManager", "inputManager", "connectionManager", "events", "
else if ("movies" === i.CollectionType) {
icon = "video_library";
}
else if ("homevideos" === i.CollectionType || "photos" === i.CollectionType) {
icon = "photo_library";
}
else if ("channels" === i.CollectionType || "Channel" === i.Type) {
icon = "videocam";
}