@model Disco.Web.Areas.Config.Models.JobQueue.IndexModel @{ Authorization.RequireAll(Claims.Config.JobQueue.Create, Claims.Config.JobQueue.Configure); ViewBag.Title = Html.ToBreadcrumb("Configuration", MVC.Config.Config.Index(), "Job Queues", MVC.Config.JobQueue.Index(null)); }
@if (Model.Tokens.Count == 0) {

No job queues are configured

} else { @foreach (var item in Model.Tokens) { }
Name Priority Linked Groups/Users
@item.JobQueue.Name @if (item.SubjectIds.Count == 0) { <None> } else { @(string.Join(", ", item.SubjectIds.OrderBy(i => i))) }
}
@Html.ActionLinkButton("Create Job Queue", MVC.Config.JobQueue.Create())