sonarr-repo-only/NzbDrone.Web/Views/Series/SubMenu.ascx

12 lines
653 B
Plaintext
Raw Normal View History

2011-03-07 07:48:47 +00:00
<%@ Control Language="C#" Inherits="System.Web.Mvc.ViewUserControl<dynamic>" %>
<%@ Import Namespace="NzbDrone.Web.Controllers" %>
2011-03-07 07:48:47 +00:00
<% Html.Telerik().Menu().Name("telerikGrid").Items(items =>
{
2011-03-29 00:12:48 +00:00
items.Add().Text("Add Series")
.Items(subItem => subItem.Add().Text("New Series").Action<AddSeriesController>(c => c.AddNew()))
.Items(subItem => subItem.Add().Text("Existing Series").Action<AddSeriesController>(c => c.AddExisting()));
2011-03-29 00:12:48 +00:00
items.Add().Text("Start RSS Sync").Action<SeriesController>(c => c.RssSync());
items.Add().Text("Rename All").Action<SeriesController>(c => c.RenameAll());
2011-03-07 07:48:47 +00:00
}).Render();
%>