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

display premieredate on detail page

This commit is contained in:
Luke Pulverenti 2013-04-18 10:27:21 -04:00
parent fb7e9d31c6
commit c24cc92f74
3 changed files with 10 additions and 0 deletions

View file

@ -916,6 +916,14 @@
}
},
renderPremiereDate: function (elem, item) {
if (item.PremiereDate) {
elem.show().html('Premiered  ' + parseISO8601Date(item.PremiereDate, { toLocal: true }).toDateString());
} else {
elem.hide();
}
},
renderBudget: function (elem, item) {
if (item.Budget) {
elem.show().html('Budget:  $' + item.Budget);