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

album detail page

This commit is contained in:
Luke Pulverenti 2013-04-22 11:10:54 -04:00
parent dd808d8298
commit fe459feef2
3 changed files with 22 additions and 1 deletions

View file

@ -76,7 +76,7 @@
enableCustomHeader(page, "TV Shows");
$('#standardLogo', page).hide();
}
else if (item.Type == "Audio") {
else if (item.Type == "Audio" || item.Type == "MusicAlbum") {
enableCustomHeader(page, "Music");
$('#standardLogo', page).hide();
}
@ -85,6 +85,12 @@
$('#standardLogo', page).show();
}
if (item.Type == "MusicAlbum") {
$('#albumTabs', page).show();
} else {
$('#albumTabs', page).hide();
}
if (item.Type == "Audio") {
$('#songTabs', page).show();
} else {
@ -216,6 +222,9 @@
else if (item.Type == "BoxSet") {
$('#childrenTitle', page).html('Movies (' + item.ChildCount + ')');
}
else if (item.Type == "MusicAlbum") {
$('#childrenTitle', page).html('Songs (' + item.ChildCount + ')');
}
else {
$('#childrenTitle', page).html('Items (' + item.ChildCount + ')');
}