mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
hide queue button if nothing playing, poster links to item details
This commit is contained in:
parent
2a9a088a9e
commit
c8c84652b9
3 changed files with 6 additions and 3 deletions
|
@ -6,7 +6,7 @@
|
|||
<body>
|
||||
<div id="playlistPage" data-role="page" class="page libraryPage noLogoPage" data-theme="a">
|
||||
<h1 class="libraryPageHeader"><a href="index.html" class="imageLink">
|
||||
<img src="css/images/home.png"></a>Playlist</h1>
|
||||
<img src="css/images/home.png"></a>Now Playing</h1>
|
||||
|
||||
<div data-role="content">
|
||||
|
||||
|
|
|
@ -38,7 +38,10 @@
|
|||
if (MediaPlayer.canPlay(item)) {
|
||||
$('#btnPlayMenu', page).show();
|
||||
$('#playButtonShadow', page).show();
|
||||
if (MediaPlayer.isPlaying())
|
||||
$('#btnQueueMenu', page).show();
|
||||
else
|
||||
$('#btnQueueMenu', page).hide();
|
||||
} else {
|
||||
$('#btnPlayMenu', page).hide();
|
||||
$('#playButtonShadow', page).hide();
|
||||
|
|
|
@ -307,7 +307,7 @@
|
|||
seriesName = item.SeriesName || item.Album || item.ProductionYear;
|
||||
}
|
||||
|
||||
html += "<div><img class='nowPlayingBarImage ' alt='' title='' src='" + url + "' style='height:36px;display:inline-block;' /></div>";
|
||||
html += "<div><a href='itemdetails.html?id="+item.Id+"'><img class='nowPlayingBarImage ' alt='' title='' src='" + url + "' style='height:36px;display:inline-block;' /></a></div>";
|
||||
if (item.Type == "Movie")
|
||||
html += '<div>' + name + '<br/>' + seriesName + '</div>';
|
||||
else
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue