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

added new studio image provider

This commit is contained in:
Luke Pulverenti 2013-12-29 00:32:03 -05:00
parent f9ec680145
commit dfec6b307b
16 changed files with 95 additions and 128 deletions

View file

@ -874,7 +874,16 @@
style += "background-color:" + background + ";";
}
html += '<div class="posterItemImage" style="' + style + '"></div>';
html += '<div class="posterItemImage" style="' + style + '">';
if (item.LocationType == "Offline" || item.LocationType == "Virtual") {
if (options.showLocationTypeIndicator !== false) {
html += LibraryBrowser.getOfflineIndicatorHtml(item);
}
} else if (options.showUnplayedIndicator !== false) {
html += LibraryBrowser.getUnplayedIndicatorHtml(item);
}
html += '</div>';
var name = LibraryBrowser.getPosterViewDisplayName(item);
@ -933,14 +942,6 @@
html += "</div>";
}
if (item.LocationType == "Offline" || item.LocationType == "Virtual") {
if (options.showLocationTypeIndicator !== false) {
html += LibraryBrowser.getOfflineIndicatorHtml(item);
}
} else if (options.showUnplayedIndicator !== false) {
html += LibraryBrowser.getUnplayedIndicatorHtml(item);
}
html += "</a>";
}