1
0
Fork 0
mirror of https://github.com/Sonarr/Sonarr synced 2024-12-28 02:37:40 +00:00
Sonarr/NzbDrone.Web/Views/Series/SubMenu.ascx

21 lines
1.5 KiB
Text
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-04-10 02:44:01 +00:00
<%
Html.Telerik().Menu().Name("telerikGrid").Items(items =>
{
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
2011-04-10 02:44:01 +00:00
items.Add().Text("Start RSS Sync").Action<SeriesController>(
c => c.RssSync());
items.Add().Text("Rename All").Action<SeriesController>(
c => c.RenameAll());
}).Render();
2011-03-07 07:48:47 +00:00
%>