mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
display award summary
This commit is contained in:
parent
ab0b54902f
commit
0073dc3476
3 changed files with 12 additions and 1 deletions
|
@ -2226,6 +2226,7 @@
|
|||
|
||||
renderBudget: function (elem, item) {
|
||||
if (item.Budget) {
|
||||
|
||||
elem.show().html('Budget: $<span class="autoNumeric" data-a-pad="false">' + item.Budget + '</span>');
|
||||
} else {
|
||||
elem.hide();
|
||||
|
@ -2234,12 +2235,21 @@
|
|||
|
||||
renderRevenue: function (elem, item) {
|
||||
if (item.Revenue) {
|
||||
|
||||
elem.show().html('Revenue: $<span class="autoNumeric" data-a-pad="false">' + item.Revenue + '</span>');
|
||||
} else {
|
||||
elem.hide();
|
||||
}
|
||||
},
|
||||
|
||||
renderAwardSummary: function (elem, item) {
|
||||
if (item.AwardSummary) {
|
||||
elem.show().html('Awards: ' + item.AwardSummary);
|
||||
} else {
|
||||
elem.hide();
|
||||
}
|
||||
},
|
||||
|
||||
renderDetailPageBackdrop: function (page, item) {
|
||||
|
||||
var screenWidth = Math.max(screen.height, screen.width);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue