mirror of
https://github.com/Sonarr/Sonarr.git
synced 2024-12-12 11:15:43 +02:00
d640fa65e8
System/Jobs now shows items currently in queue.
16 lines
475 B
Plaintext
16 lines
475 B
Plaintext
@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();}
|
|
}
|