mirror of
https://github.com/Sonarr/Sonarr
synced 2024-12-25 09:18:34 +00:00
d640fa65e8
System/Jobs now shows items currently in queue.
15 lines
475 B
Text
15 lines
475 B
Text
@using System.Collections
|
|
@model IEnumerable<NzbDrone.Core.Repository.JobDefinition>
|
|
@section TitleContent{
|
|
Jobs
|
|
}
|
|
@section MainContent{
|
|
@{Html.Telerik().Grid(Model).Name("Grid")
|
|
.Render();}
|
|
|
|
Items currently in queue
|
|
|
|
@{Html.Telerik().Grid((IEnumerable<Tuple<String, int>>)ViewData["Queue"]).Name("QueueGrid")
|
|
.Columns(c => c.Bound(g => g.Item1).Title("Type").Width(100)).Columns(c => c.Bound(g => g.Item2).Title("Target"))
|
|
.Render();}
|
|
}
|