@model SeriesDetailsModel @using NzbDrone.Web.Helpers @using NzbDrone.Web.Models @{ViewBag.Title = Model.Title;} @section HeaderContent { @Html.IncludeCss("Grid.css") } @{ ViewBag.Title = Model.Title; } @section ActionMenu{ }
@foreach (var season in Model.Seasons.OrderBy(s => s.SeasonNumber)) { var ignoreSeason = "ignoreSeason_" + season.SeasonNumber;
@(season.SeasonNumber == 0 ? "Specials" : "Season " + season.SeasonNumber)
}
@foreach (var s in Model.Seasons.OrderByDescending(a => a.SeasonNumber)) { var season = s; Html.RenderPartial("Season", season); } @section Scripts{ @Html.IncludeScript("NzbDrone/seriesDetails.js") }