Skip to content

Commit

Permalink
Fix secondery title position and show year on tv show ui
Browse files Browse the repository at this point in the history
  • Loading branch information
grafixeyehero committed May 15, 2019
1 parent 0f075fe commit c8e695f
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 4 deletions.
4 changes: 3 additions & 1 deletion src/scripts/movies.js
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,8 @@ define(["loading", "layoutManager", "userSettings", "events", "libraryBrowser",
lazy: !0,
cardLayout: !0,
showTitle: !0,
showYear: !0
showYear: !0,
centerText: !0
}) : "Banner" == viewStyle ? cardBuilder.getCardsHtml({
items: items,
shape: "banner",
Expand All @@ -94,6 +95,7 @@ define(["loading", "layoutManager", "userSettings", "events", "libraryBrowser",
context: "movies",
showTitle: !0,
showYear: !0,
centerText: !0,
lazy: !0,
cardLayout: !0
}) : cardBuilder.getCardsHtml({
Expand Down
4 changes: 3 additions & 1 deletion src/scripts/movietrailers.js
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,8 @@ define(["layoutManager", "loading", "events", "libraryBrowser", "imageLoader", "
context: "movies",
cardLayout: !0,
showTitle: !0,
showYear: !0
showYear: !0,
centerText: !0
}) : "Banner" == viewStyle ? cardBuilder.getCardsHtml({
items: result.Items,
shape: "banner",
Expand All @@ -83,6 +84,7 @@ define(["layoutManager", "loading", "events", "libraryBrowser", "imageLoader", "
context: "movies",
showTitle: !0,
showYear: !0,
centerText: !0,
cardLayout: !0
}) : cardBuilder.getCardsHtml({
items: result.Items,
Expand Down
7 changes: 5 additions & 2 deletions src/scripts/tvshows.js
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,8 @@ define(["layoutManager", "loading", "events", "libraryBrowser", "imageLoader", "
context: "tvshows",
cardLayout: !0,
showTitle: !0,
showYear: !0
showYear: !0,
centerText: !0
}) : "Banner" == viewStyle ? cardBuilder.getCardsHtml({
items: result.Items,
shape: "banner",
Expand All @@ -93,6 +94,7 @@ define(["layoutManager", "loading", "events", "libraryBrowser", "imageLoader", "
context: "tvshows",
showTitle: !0,
showYear: !0,
centerText: !0,
cardLayout: !0
}) : cardBuilder.getCardsHtml({
items: result.Items,
Expand All @@ -101,7 +103,8 @@ define(["layoutManager", "loading", "events", "libraryBrowser", "imageLoader", "
centerText: !0,
lazy: !0,
overlayMoreButton: !0,
showTitle: !0
showTitle: !0,
showYear: !0
});
var i, length, elems = tabContent.querySelectorAll(".paging");
for (i = 0, length = elems.length; i < length; i++) elems[i].innerHTML = pagingHtml;
Expand Down

0 comments on commit c8e695f

Please sign in to comment.