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

12 lines
581 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="Telerik.Web.Mvc.UI" %>
<% 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("AddNew", "Series"))
.Items(subItem => subItem.Add().Text("Existing Series").Action("AddExisting", "Series"));
2011-03-07 07:48:47 +00:00
items.Add().Text("Start RSS Sync").Action("RssSync", "Series");
items.Add().Text("Rename All").Action("RenameAll", "Series");
}).Render();
%>