mirror of
https://github.com/lidarr/lidarr.git
synced 2025-07-14 17:13:49 -07:00
New: AirTime will be shown in Series grid details.
This commit is contained in:
parent
ac728667ec
commit
4947252f93
4 changed files with 6 additions and 3 deletions
|
@ -201,7 +201,8 @@ namespace NzbDrone.Web.Controllers
|
||||||
EpisodeCount = s.EpisodeCount,
|
EpisodeCount = s.EpisodeCount,
|
||||||
EpisodeFileCount = s.EpisodeFileCount,
|
EpisodeFileCount = s.EpisodeFileCount,
|
||||||
NextAiring = s.NextAiring == null ? String.Empty : s.NextAiring.Value.ToBestDateString(),
|
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();
|
}).ToList();
|
||||||
|
|
||||||
return series;
|
return series;
|
||||||
|
|
|
@ -27,6 +27,7 @@ namespace NzbDrone.Web.Models
|
||||||
public string NextAiringSorter { get; set; }
|
public string NextAiringSorter { get; set; }
|
||||||
public string Details { get; set; }
|
public string Details { get; set; }
|
||||||
public string Network { get; set; }
|
public string Network { get; set; }
|
||||||
|
public string AirTime { get; set; }
|
||||||
|
|
||||||
public IList<int> Seasons { get; set; }
|
public IList<int> Seasons { get; set; }
|
||||||
|
|
||||||
|
|
|
@ -181,6 +181,7 @@
|
||||||
}, //Commands
|
}, //Commands
|
||||||
{ sWidth: '60px', "mDataProp": "Details", "bSortable": false, "bVisible": false, "fnRender": function (row) {
|
{ sWidth: '60px', "mDataProp": "Details", "bSortable": false, "bVisible": false, "fnRender": function (row) {
|
||||||
var result = "<b>Airs Day of Week: </b>" + row.aData["AirsDayOfWeek"] + "<br/>" +
|
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/>";
|
"<b>Overview: </b>" + row.aData["Overview"] + "<br/>";
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue