mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
added GameSystem entity
This commit is contained in:
parent
e3d0113106
commit
f41de12af4
3 changed files with 6 additions and 6 deletions
|
@ -99,7 +99,7 @@
|
||||||
$('#gameTabs', page).show();
|
$('#gameTabs', page).show();
|
||||||
}
|
}
|
||||||
|
|
||||||
if (item.Type == "GamePlatform") {
|
if (item.Type == "GameSystem") {
|
||||||
$('#gameSystemTabs', page).show();
|
$('#gameSystemTabs', page).show();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -501,7 +501,7 @@
|
||||||
else if (item.Type == "MusicAlbum") {
|
else if (item.Type == "MusicAlbum") {
|
||||||
$('#childrenTitle', page).html('Tracks (' + item.ChildCount + ')');
|
$('#childrenTitle', page).html('Tracks (' + item.ChildCount + ')');
|
||||||
}
|
}
|
||||||
else if (item.Type == "GamePlatform") {
|
else if (item.Type == "GameSystem") {
|
||||||
$('#childrenTitle', page).html('Games (' + item.ChildCount + ')');
|
$('#childrenTitle', page).html('Games (' + item.ChildCount + ')');
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
|
|
||||||
SortBy: "SortName",
|
SortBy: "SortName",
|
||||||
SortOrder: "Ascending",
|
SortOrder: "Ascending",
|
||||||
IncludeItemTypes: "GamePlatform",
|
IncludeItemTypes: "GameSystem",
|
||||||
Recursive: true,
|
Recursive: true,
|
||||||
Fields: "ItemCounts,ItemCounts,DateCreated,UserData",
|
Fields: "ItemCounts,ItemCounts,DateCreated,UserData",
|
||||||
StartIndex: 0
|
StartIndex: 0
|
||||||
|
|
|
@ -185,7 +185,7 @@
|
||||||
|
|
||||||
html += '<p class="itemMiscInfo">' + childText + '</p>';
|
html += '<p class="itemMiscInfo">' + childText + '</p>';
|
||||||
}
|
}
|
||||||
else if (item.Type == "GamePlatform") {
|
else if (item.Type == "GameSystem") {
|
||||||
|
|
||||||
childText = item.ChildCount == 1 ? "1 Game" : item.ChildCount + " Games";
|
childText = item.ChildCount == 1 ? "1 Game" : item.ChildCount + " Games";
|
||||||
|
|
||||||
|
@ -203,7 +203,7 @@
|
||||||
}
|
}
|
||||||
else if (item.Type == "Game") {
|
else if (item.Type == "Game") {
|
||||||
|
|
||||||
html += '<p class="itemMiscInfo">' + item.GameSystem + '</p>';
|
html += '<p class="itemMiscInfo">' + (item.DisplayMediaType || item.GameSystem) + '</p>';
|
||||||
}
|
}
|
||||||
else if (item.Type == "Episode") {
|
else if (item.Type == "Episode") {
|
||||||
|
|
||||||
|
@ -537,7 +537,7 @@
|
||||||
if (item.Type == "MusicAlbum") {
|
if (item.Type == "MusicAlbum") {
|
||||||
return "itemdetails.html?id=" + id;
|
return "itemdetails.html?id=" + id;
|
||||||
}
|
}
|
||||||
if (item.Type == "GamePlatform") {
|
if (item.Type == "GameSystem") {
|
||||||
return "itemdetails.html?id=" + id;
|
return "itemdetails.html?id=" + id;
|
||||||
}
|
}
|
||||||
if (item.Type == "Genre") {
|
if (item.Type == "Genre") {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue