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

fix music genres

This commit is contained in:
Luke Pulverenti 2016-07-30 13:55:15 -04:00
parent d3bcb6ac63
commit 98b3a231d1
2 changed files with 6 additions and 6 deletions

View file

@ -108,7 +108,7 @@
<div style="text-align: center; display: flex; align-items: center; justify-content: center;"> <div style="text-align: center; display: flex; align-items: center; justify-content: center;">
<button is="paper-icon-button-light" class="btnSelectView autoSize" title="${ButtonSelectView}"><i class="md-icon">view_comfy</i></button> <button is="paper-icon-button-light" class="btnSelectView autoSize" title="${ButtonSelectView}"><i class="md-icon">view_comfy</i></button>
</div> </div>
<div is="emby-itemscontainer" id="items" class="itemsContainer paddedItemsContainer"></div> <div is="emby-itemscontainer" id="items" class="itemsContainer paddedItemsContainer vertical-wrap"></div>
</div> </div>
<div class="pageTabContent pageTabContent ehsContent" id="foldersTab" data-index="6"> <div class="pageTabContent pageTabContent ehsContent" id="foldersTab" data-index="6">
<div style="text-align: center; display: flex; flex-wrap: wrap; align-items: center; justify-content: center;padding:.7em .5em;"> <div style="text-align: center; display: flex; flex-wrap: wrap; align-items: center; justify-content: center;padding:.7em .5em;">

View file

@ -1,4 +1,4 @@
define(['libraryBrowser'], function (libraryBrowser) { define(['libraryBrowser', 'cardBuilder'], function (libraryBrowser, cardBuilder) {
return function (view, params, tabContent) { return function (view, params, tabContent) {
@ -57,7 +57,7 @@
var viewStyle = self.getCurrentViewStyle(); var viewStyle = self.getCurrentViewStyle();
if (viewStyle == "Thumb") { if (viewStyle == "Thumb") {
html = libraryBrowser.getPosterViewHtml({ html = cardBuilder.getCardsHtml({
items: result.Items, items: result.Items,
shape: "backdrop", shape: "backdrop",
preferThumb: true, preferThumb: true,
@ -71,7 +71,7 @@
} }
else if (viewStyle == "ThumbCard") { else if (viewStyle == "ThumbCard") {
html = libraryBrowser.getPosterViewHtml({ html = cardBuilder.getCardsHtml({
items: result.Items, items: result.Items,
shape: "backdrop", shape: "backdrop",
preferThumb: true, preferThumb: true,
@ -83,7 +83,7 @@
}); });
} }
else if (viewStyle == "PosterCard") { else if (viewStyle == "PosterCard") {
html = libraryBrowser.getPosterViewHtml({ html = cardBuilder.getCardsHtml({
items: result.Items, items: result.Items,
shape: "auto", shape: "auto",
context: 'music', context: 'music',
@ -94,7 +94,7 @@
}); });
} }
else if (viewStyle == "Poster") { else if (viewStyle == "Poster") {
html = libraryBrowser.getPosterViewHtml({ html = cardBuilder.getCardsHtml({
items: result.Items, items: result.Items,
shape: "auto", shape: "auto",
context: 'music', context: 'music',