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:
parent
dd808d8298
commit
fe459feef2
3 changed files with 22 additions and 1 deletions
|
@ -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 + ')');
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue