1
0
mirror of https://github.com/Radarr/Radarr.git synced 2024-09-22 09:21:43 +02:00
Radarr/NzbDrone.Web/Views/Series/Index.cshtml
Mark McDowall 33b67a138c RAZOR'd Series and the Error page.
NzbDrone has been RAZORfied completely now, die ASPX pages!
2011-04-21 00:14:47 -07:00

28 lines
1.1 KiB
Plaintext

@model IEnumerable<NzbDrone.Core.Repository.Series>
@section TitleContent{
Series
}
@section ActionMenu{
@{Html.RenderPartial("SubMenu");}
}
@section MainContent{
@{Html.Telerik().Grid(Model).Name("Grid")
.TableHtmlAttributes(new { @class = "Grid" })
.Columns(columns =>
{
columns.Template(c => @Html.ActionLink(c.Title ?? "New Series", "Details",
new {seriesId = c.SeriesId})
).Title("Title");
columns.Bound(o => o.Seasons.Count).Title("Seasons");
columns.Bound(o => o.QualityProfile.Name).Title("Quality");
columns.Bound(o => o.Status);
columns.Bound(o => o.AirsDayOfWeek);
columns.Bound(o => o.Path);
})
.Sortable(sort => sort.OrderBy(order => order.Add(o => o.Title).Ascending()).Enabled(false))
.Render();}
}