mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
Added Budget, EndDate, HomePageUrl, ProductionLocations,
This commit is contained in:
parent
cc98266437
commit
46d9073d29
1 changed files with 8 additions and 4 deletions
|
@ -107,11 +107,11 @@
|
|||
}
|
||||
|
||||
var childText;
|
||||
|
||||
|
||||
if (item.Type == "BoxSet") {
|
||||
|
||||
childText = item.ChildCount == 1 ? "1 Movie" : item.ChildCount + " Movies";
|
||||
|
||||
|
||||
html += '<p class="itemMiscInfo">' + childText + '</p>';
|
||||
}
|
||||
else if (item.Type == "Genre" || item.Type == "Studio" || item.Type == "Person") {
|
||||
|
@ -165,13 +165,13 @@
|
|||
return item.IsFolder ? (item.Id ? "itemList.html?parentId=" + item.Id : "#") : "itemdetails.html?id=" + item.Id;
|
||||
|
||||
},
|
||||
|
||||
|
||||
getPrimaryImageUrl: function (item, options) {
|
||||
|
||||
options = options || {};
|
||||
options.type = "Primary";
|
||||
options.tag = item.ImageTags.Primary;
|
||||
|
||||
|
||||
if (item.Type == "Studio") {
|
||||
|
||||
return ApiClient.getStudioImageUrl(item.Name, options);
|
||||
|
@ -444,6 +444,10 @@
|
|||
var html = 'Links: ';
|
||||
var links = [];
|
||||
|
||||
if (item.HomePageUrl) {
|
||||
links.push('<a class="ui-link" href="' + item.HomePageUrl + '" target="_blank">Website</a>');
|
||||
}
|
||||
|
||||
if (item.ProviderIds.Imdb) {
|
||||
if (item.Type == "Movie" || item.Type == "Episode")
|
||||
links.push('<a class="ui-link" href="http://www.imdb.com/title/' + item.ProviderIds.Imdb + '" target="_blank">IMDb</a>');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue