display album artist on song table

This commit is contained in:
Luke Pulverenti
2013-09-06 01:13:15 -04:00
parent e6bb8d236f
commit 2b8e52c34d
2 changed files with 15 additions and 1 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
.detailTableContainer {
width: 100%;
max-width: 1000px;
max-width: 1100px;
text-align: center;
margin: 0 auto;
}
+14
View File
@@ -256,6 +256,9 @@
if (options.showAlbum) {
html += '<th>Album</th>';
}
if (options.showArtist) {
html += '<th>Album Artist</th>';
}
if (options.showArtist) {
html += '<th>Artist</th>';
}
@@ -291,6 +294,17 @@
}
}
if (options.showArtist) {
if (item.AlbumArtist) {
html += '<td><a href="itembynamedetails.html?context=music&artist=' + ApiClient.encodeName(item.AlbumArtist) + '">' + item.AlbumArtist + '</a></td>';
} else {
html += '<td></td>';
}
}
if (options.showArtist) {
if (item.Artists && item.Artists.length) {