mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
fixed image uploading for virtual items
This commit is contained in:
parent
fad47c6a3b
commit
c73b7385b4
13 changed files with 52 additions and 2 deletions
|
@ -294,8 +294,8 @@
|
|||
|
||||
var html = item.Status == 'Ended' ? 'Aired' : 'Airs';
|
||||
|
||||
if (item.AirDays.length) {
|
||||
html += ' ' + item.AirDays.map(function (a) {
|
||||
if (item.AirDays && item.AirDays.length) {
|
||||
html += item.AirDays.length == 7 ? 'daily' : ' ' + item.AirDays.map(function (a) {
|
||||
return a + "s";
|
||||
|
||||
}).join(',');
|
||||
|
@ -759,6 +759,10 @@
|
|||
html += '<p>' + cast.Name + '</p>';
|
||||
|
||||
var role = cast.Role ? "as " + cast.Role : cast.Type;
|
||||
|
||||
if (role == "GuestStar") {
|
||||
role = "Guest star";
|
||||
}
|
||||
|
||||
html += '<p>' + (role || "") + '</p>';
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue