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

renamed video backdrops to theme videos

This commit is contained in:
Luke Pulverenti 2013-04-28 14:30:58 -04:00
parent 9d42877d91
commit 4457c0b818
7 changed files with 34 additions and 17 deletions

View file

@ -163,6 +163,12 @@
html += '<p class="itemMiscInfo">' + childText + '</p>';
}
else if (item.Type == "GamePlatform") {
childText = item.ChildCount == 1 ? "1 Game" : item.ChildCount + " Games";
html += '<p class="itemMiscInfo">' + childText + '</p>';
}
else if (item.Type == "MusicAlbum") {
childText = item.ChildCount == 1 ? "1 Song" : item.ChildCount + " Songs";
@ -425,7 +431,16 @@
}
}
html += '<a class="posterItem ' + options.shape + 'PosterItem" href="' + LibraryBrowser.getHref(item, options.context) + '">';
var cssClass = "posterItem";
if (options.transparent) {
cssClass += " transparentPosterItem";
}
cssClass += ' ' + options.shape + 'PosterItem';
html += '<a class="' + cssClass + '" href="' + LibraryBrowser.getHref(item, options.context) + '">';
var style = "";
@ -1093,7 +1108,7 @@
else {
url = "css/images/items/detail/video.png";
useBackgroundColor = true;
maxwidth = 150;
maxwidth = 150;p
}
if (url) {