mirror of
https://github.com/Prowlarr/Prowlarr.git
synced 2025-09-17 17:14:18 +02:00
New: AirTime will be shown in Series grid details.
This commit is contained in:
@@ -201,7 +201,8 @@ namespace NzbDrone.Web.Controllers
|
||||
EpisodeCount = s.EpisodeCount,
|
||||
EpisodeFileCount = s.EpisodeFileCount,
|
||||
NextAiring = s.NextAiring == null ? String.Empty : s.NextAiring.Value.ToBestDateString(),
|
||||
NextAiringSorter = s.NextAiring == null ? "12/31/9999" : s.NextAiring.Value.ToString("MM/dd/yyyy")
|
||||
NextAiringSorter = s.NextAiring == null ? "12/31/9999" : s.NextAiring.Value.ToString("MM/dd/yyyy"),
|
||||
AirTime = s.AirTimes
|
||||
}).ToList();
|
||||
|
||||
return series;
|
||||
|
@@ -27,6 +27,7 @@ namespace NzbDrone.Web.Models
|
||||
public string NextAiringSorter { get; set; }
|
||||
public string Details { get; set; }
|
||||
public string Network { get; set; }
|
||||
public string AirTime { get; set; }
|
||||
|
||||
public IList<int> Seasons { get; set; }
|
||||
|
||||
|
@@ -181,6 +181,7 @@
|
||||
}, //Commands
|
||||
{ sWidth: '60px', "mDataProp": "Details", "bSortable": false, "bVisible": false, "fnRender": function (row) {
|
||||
var result = "<b>Airs Day of Week: </b>" + row.aData["AirsDayOfWeek"] + "<br/>" +
|
||||
"<b>Air Time: </b>" + row.aData["AirTime"] + "<br/>" +
|
||||
"<b>Overview: </b>" + row.aData["Overview"] + "<br/>";
|
||||
return result;
|
||||
}
|
||||
|
Reference in New Issue
Block a user