mirror of
https://github.com/lidarr/Lidarr
synced 2024-12-28 02:27:13 +00:00
33b67a138c
NzbDrone has been RAZORfied completely now, die ASPX pages!
27 lines
1.1 KiB
Text
27 lines
1.1 KiB
Text
@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();}
|
|
}
|