@using NzbDrone.Web.Helpers @model NzbDrone.Web.Models.UpcomingEpisodesModel @{ViewBag.Title = "Upcoming";} @section HeaderContent { @Html.IncludeCss("Grid.css") } @section ActionMenu{ }
@Html.CheckBox("showDownloaded", true)
@*Commands/Status Column*@ @for (int i = 0; i < Model.Yesterday.Count; i++) { var episode = Model.Yesterday[i]; if (i % 2 == 0) { Html.RenderPartial("UpcomingEpisode", episode); } else { Html.RenderPartial("UpcomingEpisode", episode, new ViewDataDictionary { new KeyValuePair("AltRow", true) }); } } @for (int i = 0; i < Model.Today.Count; i++) { var episode = Model.Today[i]; if (i % 2 == 0) { Html.RenderPartial("UpcomingEpisode", episode); } else { Html.RenderPartial("UpcomingEpisode", episode, new ViewDataDictionary { new KeyValuePair("AltRow", true) }); } } @for (int i = 0; i < Model.Tomorrow.Count; i++) { var episode = Model.Tomorrow[i]; if (i % 2 == 0) { Html.RenderPartial("UpcomingEpisode", episode); } else { Html.RenderPartial("UpcomingEpisode", episode, new ViewDataDictionary { new KeyValuePair("AltRow", true) }); } } @for (int i = 0; i < Model.Week.Count; i++) { var episode = Model.Week[i]; if (i % 2 == 0) { Html.RenderPartial("UpcomingEpisode", episode); } else { Html.RenderPartial("UpcomingEpisode", episode, new ViewDataDictionary { new KeyValuePair("AltRow", true) }); } }
Series Title Episode Episode Title Air Time Status
Yesterday
Today
Tomorrow
Future Forecast
@section Scripts{ }