@model NzbDrone.Web.Models.SeriesModel @using NzbDrone.Core.Repository @using NzbDrone.Web.Models @section TitleContent{ @Model.Title } @section ActionMenu{ @{Html.Telerik().Menu().Name("SeriesMenu").Items(items => { items.Add().Text("Back to Series List").Action("Index", "Series"); items.Add().Text("Scan For Episodes on Disk") .Action("SyncEpisodesOnDisk", "Series", new { seriesId = Model.SeriesId }); items.Add().Text("Update Info").Action("UpdateInfo", "Series", new { seriesId = Model.SeriesId }); items.Add().Text("Rename Series").Action("RenameSeries", "Series", new { seriesId = Model.SeriesId }); }).Render();} } @section MainContent{
@*Todo: This breaks when using SQLServer... thoughts?*@ @*Easy, don't use SQL Server!!!*@ @foreach (var season in Model.Seasons.Where(s => s > 0).Reverse()) {