mirror of
https://github.com/jellyfin/jellyfin-web.git
synced 2024-11-17 10:58:20 -07:00
add artist links on song page
This commit is contained in:
parent
70abe25960
commit
69b9c9c379
@ -78,7 +78,8 @@
|
||||
}
|
||||
|
||||
|
||||
@media all and (min-width: 750px) {
|
||||
|
||||
@media all and (min-width: 650px) {
|
||||
|
||||
.backdropPosterItem {
|
||||
width: 192px;
|
||||
@ -87,6 +88,9 @@
|
||||
.backdropPosterItem .posterItemImage {
|
||||
height: 108px;
|
||||
}
|
||||
}
|
||||
|
||||
@media all and (min-width: 750px) {
|
||||
|
||||
.squarePosterItem {
|
||||
width: 160px;
|
||||
@ -158,11 +162,11 @@
|
||||
@media all and (min-width: 1920px) {
|
||||
|
||||
.backdropPosterItem {
|
||||
width: 304px;
|
||||
width: 320px;
|
||||
}
|
||||
|
||||
.backdropPosterItem .posterItemImage {
|
||||
height: 171px;
|
||||
height: 180px;
|
||||
}
|
||||
|
||||
.squarePosterItem {
|
||||
|
@ -103,6 +103,7 @@
|
||||
|
||||
<div class="itemDetailBlock">
|
||||
|
||||
<h1 id="albumArtist" class="detailPageName hide"></h1>
|
||||
<h1 id="seriesName" class="detailPageName hide"></h1>
|
||||
<h1 id="itemName" class="detailPageName"></h1>
|
||||
|
||||
|
@ -20,17 +20,17 @@
|
||||
|
||||
<div id="noPlugins" class="hide"><div style="text-align:center;margin: 10px;">No available plugins</div></div>
|
||||
|
||||
<div data-role="collapsible" id="pluginServerCollapsible" class="hide" data-collapsed="false">
|
||||
<div data-role="collapsible" id="pluginServerCollapsible" class="hide" data-collapsed="false" data-mini="true">
|
||||
<h3>MB Server</h3>
|
||||
<div id="pluginServerTiles"></div>
|
||||
</div>
|
||||
|
||||
<div data-role="collapsible" id="pluginTheatreCollapsible" class="hide">
|
||||
<div data-role="collapsible" id="pluginTheatreCollapsible" class="hide" data-mini="true">
|
||||
<h3>MB Theater</h3>
|
||||
<div id="pluginTheatreTiles"></div>
|
||||
</div>
|
||||
|
||||
<div data-role="collapsible" id="pluginClassicCollapsible" class="hide">
|
||||
<div data-role="collapsible" id="pluginClassicCollapsible" class="hide" data-mini="true">
|
||||
<h3>MB Classic</h3>
|
||||
<div id="pluginClassicTiles"></div>
|
||||
</div>
|
||||
|
@ -29,6 +29,13 @@
|
||||
|
||||
$('#itemName', page).html(name);
|
||||
|
||||
if (item.AlbumArtist && item.Type == "Audio") {
|
||||
$('#albumArtist', page).html('<a class="detailPageParentLink" href="itembynamedetails.html?context=music&artist=' + item.AlbumArtist + '">' + item.AlbumArtist + '</a>').show().trigger('create');
|
||||
}
|
||||
else {
|
||||
$('#albumArtist', page).hide();
|
||||
}
|
||||
|
||||
if (item.SeriesName) {
|
||||
|
||||
$('#seriesName', page).html('<a class="detailPageParentLink" href="itemdetails.html?id=' + item.SeriesId + '">' + item.SeriesName + '</a>').show().trigger('create');
|
||||
@ -36,6 +43,10 @@
|
||||
else if (item.Album && item.Type == "Audio" && item.ParentId) {
|
||||
$('#seriesName', page).html('<a class="detailPageParentLink" href="itemdetails.html?id=' + item.ParentId + '">' + item.Album + '</a>').show().trigger('create');
|
||||
|
||||
}
|
||||
else if (item.AlbumArtist && item.Type == "MusicAlbum") {
|
||||
$('#seriesName', page).html('<a class="detailPageParentLink" href="itembynamedetails.html?context=music&artist=' + item.AlbumArtist + '">' + item.AlbumArtist + '</a>').show().trigger('create');
|
||||
|
||||
}
|
||||
else if (item.Album) {
|
||||
$('#seriesName', page).html(item.Album).show();
|
||||
|
Loading…
Reference in New Issue
Block a user