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

support audio db language choice

This commit is contained in:
Luke Pulverenti 2016-08-04 12:39:19 -04:00
parent 0b47adfaee
commit 4467991a07
4 changed files with 9 additions and 5 deletions

View file

@ -354,6 +354,10 @@ button.cardImageContainer {
background-color: #F57F17; background-color: #F57F17;
} }
.scalableCard.bannerCard {
width: 100%;
}
.scalableCard.backdropCard { .scalableCard.backdropCard {
width: 100%; width: 100%;
} }

View file

@ -975,7 +975,7 @@ define(['datetime', 'imageLoader', 'connectionManager', 'itemHelper', 'mediaInfo
} }
} }
return counts.join(' '); return counts.join(', ');
} }
function buildCard(index, item, apiClient, options, className) { function buildCard(index, item, apiClient, options, className) {
@ -1014,7 +1014,7 @@ define(['datetime', 'imageLoader', 'connectionManager', 'itemHelper', 'mediaInfo
var overlayPlayButton = options.overlayPlayButton; var overlayPlayButton = options.overlayPlayButton;
if (overlayPlayButton == null && !options.overlayMoreButton) { if (overlayPlayButton == null && !options.overlayMoreButton && !options.cardLayout) {
overlayPlayButton = item.MediaType == 'Video'; overlayPlayButton = item.MediaType == 'Video';
} }

View file

@ -323,10 +323,10 @@
if (!imgUrl && virtualFolder.showNameWithIcon) { if (!imgUrl && virtualFolder.showNameWithIcon) {
html += '<h1 class="cardImageContainer addLibrary" style="position:absolute;top:0;left:0;right:0;bottom:0;cursor:pointer;flex-direction:column;">'; html += '<h1 class="cardImageContainer addLibrary" style="position:absolute;top:0;left:0;right:0;bottom:0;cursor:pointer;flex-direction:column;">';
html += '<i class="cardImageIcon md-icon" style="font-size:400%;color:#888;height:auto;width:auto;">' + (virtualFolder.icon || getIcon(virtualFolder.CollectionType)) + '</i>'; html += '<i class="cardImageIcon md-icon" style="font-size:300%;color:#888;height:auto;width:auto;">' + (virtualFolder.icon || getIcon(virtualFolder.CollectionType)) + '</i>';
if (virtualFolder.showNameWithIcon) { if (virtualFolder.showNameWithIcon) {
html += '<div style="margin:1.5em 0;position:width:100%;font-weight:500;color:#444;">'; html += '<div style="margin:1em 0;position:width:100%;font-weight:500;color:#444;">';
html += virtualFolder.Name; html += virtualFolder.Name;
html += "</div>"; html += "</div>";
} }

View file

@ -121,7 +121,7 @@
centerImage: true, centerImage: true,
centerText: true, centerText: true,
textLines: getAdditionalTextLines, textLines: getAdditionalTextLines,
overlayPlayButton: true, overlayMoreButton: true,
serverId: ApiClient.serverInfo().Id serverId: ApiClient.serverInfo().Id
}); });