@model Disco.Web.Models.Job.ShowModel @{ ViewBag.Title = Html.ToBreadcrumb("Jobs", MVC.Job.Index(), string.Format("Job: {0}", Model.Job.Id.ToString())); Html.BundleDeferred("~/ClientScripts/Modules/jQueryUI-TimePicker"); Authorization.Require(Claims.Job.Show); }
@{ var jobStatusInfo = Model.Job.Status();}  @jobStatusInfo.Item2 @if (Model.LongRunning.HasValue) {(Long Running: @Model.LongRunning.Value.Humanize(false))}
@foreach (var jq in Model.Job.JobQueues.Where(q => !q.RemovedDate.HasValue).Select(q => Disco.Services.Jobs.JobQueues.JobQueueService.GetQueue(q.JobQueueId))) { }
@Html.Partial(MVC.Job.Views.JobParts._Subject, Model)
@if (Authorization.HasAny(Claims.Job.ShowLogs, Claims.Job.ShowAttachments)) {
@Html.Partial(MVC.Job.Views.JobParts.Resources, Model)
} @if (Authorization.Has(Claims.Job.ShowJobsQueues)) {
@Html.Partial(MVC.Job.Views.JobParts.Queues, Model)
} @Html.Partial(MVC.Job.Views.JobParts.JobMetaAdditions, Model)