@model SeriesDetailsModel @using NzbDrone.Web.Helpers @using NzbDrone.Web.Models @section HeaderContent { @Html.IncludeCss("Settings.css") } @{ ViewBag.Title = Model.Title; } @section ActionMenu { } @if (Model.HasBanner) { var bannerUrl = "../../MediaCover/Banners/" + Model.SeriesId + ".jpg"; }
@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); }
}
@Html.DropDownList("NewQuality", Model.QualitySelectList)
@section Scripts{ @Html.IncludeScript("NzbDrone/seriesDetails.js") @Html.IncludeScript("NzbDrone/series.js") }