diff --git a/src/Hangfire.Core/Dashboard/Content/css/hangfire.css b/src/Hangfire.Core/Dashboard/Content/css/hangfire.css
index 6cceb6452..f88c7762a 100644
--- a/src/Hangfire.Core/Dashboard/Content/css/hangfire.css
+++ b/src/Hangfire.Core/Dashboard/Content/css/hangfire.css
@@ -537,6 +537,24 @@ div.metric-null {
display: none;
}
+.ellipsis {
+ width: 220px;
+ overflow: hidden;
+ text-overflow: ellipsis;
+ display: inline-block;
+ cursor: pointer;
+}
+
+.ellipsis-wrap {
+ white-space: nowrap;
+}
+
+@media (min-width: 1200px) {
+ .ellipsis {
+ width: 420px;
+ }
+}
+
@media (min-width: 992px) {
#stats {
position: fixed;
diff --git a/src/Hangfire.Core/Dashboard/Content/resx/Strings.Designer.cs b/src/Hangfire.Core/Dashboard/Content/resx/Strings.Designer.cs
index a34d66f2b..ddb7f1660 100644
--- a/src/Hangfire.Core/Dashboard/Content/resx/Strings.Designer.cs
+++ b/src/Hangfire.Core/Dashboard/Content/resx/Strings.Designer.cs
@@ -62,6 +62,15 @@ public class Strings {
}
}
+ ///
+ /// Looks up a localized string similar to Arguments.
+ ///
+ public static string Arguments {
+ get {
+ return ResourceManager.GetString("Arguments", resourceCulture);
+ }
+ }
+
///
/// Looks up a localized string similar to Don't worry, continuations are working as expected. But your current job storage does not support some queries required to show this page. Please try to update your storage or wait until the full command set is implemented..
///
diff --git a/src/Hangfire.Core/Dashboard/Content/resx/Strings.es.resx b/src/Hangfire.Core/Dashboard/Content/resx/Strings.es.resx
index 7afba62fd..6a4eb6540 100644
--- a/src/Hangfire.Core/Dashboard/Content/resx/Strings.es.resx
+++ b/src/Hangfire.Core/Dashboard/Content/resx/Strings.es.resx
@@ -517,4 +517,7 @@
Completados
+
+ Argumentos
+
\ No newline at end of file
diff --git a/src/Hangfire.Core/Dashboard/Content/resx/Strings.fa.resx b/src/Hangfire.Core/Dashboard/Content/resx/Strings.fa.resx
index 21457c958..3d75095f8 100644
--- a/src/Hangfire.Core/Dashboard/Content/resx/Strings.fa.resx
+++ b/src/Hangfire.Core/Dashboard/Content/resx/Strings.fa.resx
@@ -517,4 +517,7 @@
موفقیت آمیز
+
+ استدلال
+
\ No newline at end of file
diff --git a/src/Hangfire.Core/Dashboard/Content/resx/Strings.nl.resx b/src/Hangfire.Core/Dashboard/Content/resx/Strings.nl.resx
index 1d9385b14..be02f91c3 100644
--- a/src/Hangfire.Core/Dashboard/Content/resx/Strings.nl.resx
+++ b/src/Hangfire.Core/Dashboard/Content/resx/Strings.nl.resx
@@ -539,4 +539,7 @@
Mogelijk afgebroken
+
+ Argumenten
+
\ No newline at end of file
diff --git a/src/Hangfire.Core/Dashboard/Content/resx/Strings.pt-BR.resx b/src/Hangfire.Core/Dashboard/Content/resx/Strings.pt-BR.resx
index f3f561d23..93b30ed92 100644
--- a/src/Hangfire.Core/Dashboard/Content/resx/Strings.pt-BR.resx
+++ b/src/Hangfire.Core/Dashboard/Content/resx/Strings.pt-BR.resx
@@ -517,4 +517,7 @@
Concluídos
+
+ Argumentos
+
\ No newline at end of file
diff --git a/src/Hangfire.Core/Dashboard/Content/resx/Strings.pt-PT.resx b/src/Hangfire.Core/Dashboard/Content/resx/Strings.pt-PT.resx
index 65b271069..81af53870 100644
--- a/src/Hangfire.Core/Dashboard/Content/resx/Strings.pt-PT.resx
+++ b/src/Hangfire.Core/Dashboard/Content/resx/Strings.pt-PT.resx
@@ -542,4 +542,7 @@
Erro
+
+ Argumentos
+
\ No newline at end of file
diff --git a/src/Hangfire.Core/Dashboard/Content/resx/Strings.pt.resx b/src/Hangfire.Core/Dashboard/Content/resx/Strings.pt.resx
index 65b271069..81af53870 100644
--- a/src/Hangfire.Core/Dashboard/Content/resx/Strings.pt.resx
+++ b/src/Hangfire.Core/Dashboard/Content/resx/Strings.pt.resx
@@ -542,4 +542,7 @@
Erro
+
+ Argumentos
+
\ No newline at end of file
diff --git a/src/Hangfire.Core/Dashboard/Content/resx/Strings.resx b/src/Hangfire.Core/Dashboard/Content/resx/Strings.resx
index 55edada52..6bd682789 100644
--- a/src/Hangfire.Core/Dashboard/Content/resx/Strings.resx
+++ b/src/Hangfire.Core/Dashboard/Content/resx/Strings.resx
@@ -545,4 +545,7 @@
Error
+
+ Arguments
+
\ No newline at end of file
diff --git a/src/Hangfire.Core/Dashboard/Content/resx/Strings.zh-TW.resx b/src/Hangfire.Core/Dashboard/Content/resx/Strings.zh-TW.resx
index 4ca1bc472..8eed2d522 100644
--- a/src/Hangfire.Core/Dashboard/Content/resx/Strings.zh-TW.resx
+++ b/src/Hangfire.Core/Dashboard/Content/resx/Strings.zh-TW.resx
@@ -516,4 +516,7 @@
完成
+
+ 論點
+
\ No newline at end of file
diff --git a/src/Hangfire.Core/Dashboard/Content/resx/Strings.zh.resx b/src/Hangfire.Core/Dashboard/Content/resx/Strings.zh.resx
index cacd5b69b..ba6b46cc5 100644
--- a/src/Hangfire.Core/Dashboard/Content/resx/Strings.zh.resx
+++ b/src/Hangfire.Core/Dashboard/Content/resx/Strings.zh.resx
@@ -527,4 +527,7 @@
完成
+
+ 论点
+
\ No newline at end of file
diff --git a/src/Hangfire.Core/Dashboard/HtmlHelper.cs b/src/Hangfire.Core/Dashboard/HtmlHelper.cs
index 435931220..c4a2e2745 100644
--- a/src/Hangfire.Core/Dashboard/HtmlHelper.cs
+++ b/src/Hangfire.Core/Dashboard/HtmlHelper.cs
@@ -28,6 +28,7 @@
using Hangfire.Annotations;
using Hangfire.Dashboard.Pages;
using Hangfire.Dashboard.Resources;
+using Newtonsoft.Json;
namespace Hangfire.Dashboard
{
@@ -107,6 +108,12 @@ public NonEscapedString PerPageSelector([NotNull] Pager pager)
return RenderPartial(new PerPageSelector(pager));
}
+ public NonEscapedString JobArguments(Job job)
+ {
+ var serialized = JsonConvert.SerializeObject(job?.Args, Formatting.Indented);
+ return Raw($"{HtmlEncode(serialized)} ");
+ }
+
public NonEscapedString RenderPartial(RazorPage partialPage)
{
partialPage.Assign(_page);
diff --git a/src/Hangfire.Core/Dashboard/Pages/AwaitingJobsPage.cshtml b/src/Hangfire.Core/Dashboard/Pages/AwaitingJobsPage.cshtml
index 0fbccdf65..fdb7eb459 100644
--- a/src/Hangfire.Core/Dashboard/Pages/AwaitingJobsPage.cshtml
+++ b/src/Hangfire.Core/Dashboard/Pages/AwaitingJobsPage.cshtml
@@ -78,11 +78,15 @@
@if (!IsReadOnly)
{
-
+
}
@Strings.Common_Id
@Strings.Common_Job
+ @if (DashboardOptions.DisplayArgumentsInLists)
+ {
+ @Strings.Arguments
+ }
@Strings.AwaitingJobsPage_Table_Options
@Strings.AwaitingJobsPage_Table_Parent
@Strings.Common_Created
@@ -118,13 +122,19 @@
@if (jobData == null)
{
- @Strings.Common_JobExpired
+ @Strings.Common_JobExpired
}
else
{
@Html.JobNameLink(jobId, jobData.Job)
+ if (DashboardOptions.DisplayArgumentsInLists)
+ {
+
+ @Html.JobArguments(jobData.Job)
+
+ }
@if (stateData != null && stateData.Data.ContainsKey("Options") && !String.IsNullOrWhiteSpace(stateData.Data["Options"]))
{
diff --git a/src/Hangfire.Core/Dashboard/Pages/AwaitingJobsPage.cshtml.cs b/src/Hangfire.Core/Dashboard/Pages/AwaitingJobsPage.cshtml.cs
index 17ecf07f8..82050f5d1 100644
--- a/src/Hangfire.Core/Dashboard/Pages/AwaitingJobsPage.cshtml.cs
+++ b/src/Hangfire.Core/Dashboard/Pages/AwaitingJobsPage.cshtml.cs
@@ -1,11 +1,11 @@
#pragma warning disable 1591
//------------------------------------------------------------------------------
//
-// This code was generated by a tool.
-// Runtime Version:4.0.30319.42000
+// Ce code a été généré par un outil.
+// Version du runtime :4.0.30319.42000
//
-// Changes to this file may cause incorrect behavior and will be lost if
-// the code is regenerated.
+// Les modifications apportées à ce fichier peuvent provoquer un comportement incorrect et seront perdues si
+// le code est régénéré.
//
//------------------------------------------------------------------------------
@@ -313,8 +313,8 @@ public override void Execute()
#line default
#line hidden
WriteLiteral(" \r\n " +
-" \r\n " +
-" \r\n");
+" \r\n " +
+" \r\n");
@@ -344,11 +344,42 @@ public override void Execute()
#line default
#line hidden
-WriteLiteral("\r\n ");
+WriteLiteral(" \r\n");
#line 86 "..\..\Dashboard\Pages\AwaitingJobsPage.cshtml"
+ if (DashboardOptions.DisplayArgumentsInLists)
+ {
+
+
+ #line default
+ #line hidden
+WriteLiteral(" ");
+
+
+
+ #line 88 "..\..\Dashboard\Pages\AwaitingJobsPage.cshtml"
+ Write(Strings.Arguments);
+
+
+ #line default
+ #line hidden
+WriteLiteral(" \r\n");
+
+
+
+ #line 89 "..\..\Dashboard\Pages\AwaitingJobsPage.cshtml"
+ }
+
+
+ #line default
+ #line hidden
+WriteLiteral(" ");
+
+
+
+ #line 90 "..\..\Dashboard\Pages\AwaitingJobsPage.cshtml"
Write(Strings.AwaitingJobsPage_Table_Options);
@@ -358,7 +389,7 @@ public override void Execute()
- #line 87 "..\..\Dashboard\Pages\AwaitingJobsPage.cshtml"
+ #line 91 "..\..\Dashboard\Pages\AwaitingJobsPage.cshtml"
Write(Strings.AwaitingJobsPage_Table_Parent);
@@ -368,7 +399,7 @@ public override void Execute()
- #line 88 "..\..\Dashboard\Pages\AwaitingJobsPage.cshtml"
+ #line 92 "..\..\Dashboard\Pages\AwaitingJobsPage.cshtml"
Write(Strings.Common_Created);
@@ -379,7 +410,7 @@ public override void Execute()
- #line 92 "..\..\Dashboard\Pages\AwaitingJobsPage.cshtml"
+ #line 96 "..\..\Dashboard\Pages\AwaitingJobsPage.cshtml"
foreach (var jobId in jobIds)
{
JobData jobData;
@@ -405,7 +436,7 @@ public override void Execute()
- #line 109 "..\..\Dashboard\Pages\AwaitingJobsPage.cshtml"
+ #line 113 "..\..\Dashboard\Pages\AwaitingJobsPage.cshtml"
Write(jobData != null ? "hover" : null);
@@ -415,7 +446,7 @@ public override void Execute()
- #line 110 "..\..\Dashboard\Pages\AwaitingJobsPage.cshtml"
+ #line 114 "..\..\Dashboard\Pages\AwaitingJobsPage.cshtml"
if (!IsReadOnly)
{
@@ -428,7 +459,7 @@ public override void Execute()
- #line 113 "..\..\Dashboard\Pages\AwaitingJobsPage.cshtml"
+ #line 117 "..\..\Dashboard\Pages\AwaitingJobsPage.cshtml"
Write(jobId);
@@ -438,7 +469,7 @@ public override void Execute()
- #line 115 "..\..\Dashboard\Pages\AwaitingJobsPage.cshtml"
+ #line 119 "..\..\Dashboard\Pages\AwaitingJobsPage.cshtml"
}
@@ -449,7 +480,7 @@ public override void Execute()
- #line 117 "..\..\Dashboard\Pages\AwaitingJobsPage.cshtml"
+ #line 121 "..\..\Dashboard\Pages\AwaitingJobsPage.cshtml"
Write(Html.JobIdLink(jobId));
@@ -459,19 +490,29 @@ public override void Execute()
- #line 119 "..\..\Dashboard\Pages\AwaitingJobsPage.cshtml"
+ #line 123 "..\..\Dashboard\Pages\AwaitingJobsPage.cshtml"
if (jobData == null)
{
#line default
#line hidden
-WriteLiteral(" ");
+WriteLiteral(" ");
+
+
+
+ #line 125 "..\..\Dashboard\Pages\AwaitingJobsPage.cshtml"
+ Write(Strings.Common_JobExpired);
#line default
@@ -480,7 +521,7 @@ public override void Execute()
- #line 122 "..\..\Dashboard\Pages\AwaitingJobsPage.cshtml"
+ #line 126 "..\..\Dashboard\Pages\AwaitingJobsPage.cshtml"
}
else
{
@@ -493,7 +534,7 @@ public override void Execute()
- #line 126 "..\..\Dashboard\Pages\AwaitingJobsPage.cshtml"
+ #line 130 "..\..\Dashboard\Pages\AwaitingJobsPage.cshtml"
Write(Html.JobNameLink(jobId, jobData.Job));
@@ -502,12 +543,40 @@ public override void Execute()
WriteLiteral("\r\n \r\n");
+
+ #line 132 "..\..\Dashboard\Pages\AwaitingJobsPage.cshtml"
+ if (DashboardOptions.DisplayArgumentsInLists)
+ {
+
+
+ #line default
+ #line hidden
+WriteLiteral(" \r\n" +
+" ");
+
+
+
+ #line 135 "..\..\Dashboard\Pages\AwaitingJobsPage.cshtml"
+ Write(Html.JobArguments(jobData.Job));
+
+
+ #line default
+ #line hidden
+WriteLiteral("\r\n \r\n");
+
+
+
+ #line 137 "..\..\Dashboard\Pages\AwaitingJobsPage.cshtml"
+ }
+
+ #line default
+ #line hidden
WriteLiteral(" \r\n");
- #line 129 "..\..\Dashboard\Pages\AwaitingJobsPage.cshtml"
+ #line 139 "..\..\Dashboard\Pages\AwaitingJobsPage.cshtml"
if (stateData != null && stateData.Data.ContainsKey("Options") && !String.IsNullOrWhiteSpace(stateData.Data["Options"]))
{
var optionsDescription = stateData.Data["Options"];
@@ -523,7 +592,7 @@ public override void Execute()
- #line 136 "..\..\Dashboard\Pages\AwaitingJobsPage.cshtml"
+ #line 146 "..\..\Dashboard\Pages\AwaitingJobsPage.cshtml"
Write(optionsDescription);
@@ -533,7 +602,7 @@ public override void Execute()
- #line 137 "..\..\Dashboard\Pages\AwaitingJobsPage.cshtml"
+ #line 147 "..\..\Dashboard\Pages\AwaitingJobsPage.cshtml"
}
else
{
@@ -545,7 +614,7 @@ public override void Execute()
- #line 140 "..\..\Dashboard\Pages\AwaitingJobsPage.cshtml"
+ #line 150 "..\..\Dashboard\Pages\AwaitingJobsPage.cshtml"
Write(Strings.Common_NotAvailable);
@@ -555,7 +624,7 @@ public override void Execute()
- #line 141 "..\..\Dashboard\Pages\AwaitingJobsPage.cshtml"
+ #line 151 "..\..\Dashboard\Pages\AwaitingJobsPage.cshtml"
}
@@ -569,7 +638,7 @@ public override void Execute()
- #line 144 "..\..\Dashboard\Pages\AwaitingJobsPage.cshtml"
+ #line 154 "..\..\Dashboard\Pages\AwaitingJobsPage.cshtml"
if (parentStateData != null)
{
@@ -580,7 +649,7 @@ public override void Execute()
- #line 146 "..\..\Dashboard\Pages\AwaitingJobsPage.cshtml"
+ #line 156 "..\..\Dashboard\Pages\AwaitingJobsPage.cshtml"
Write(Url.JobDetails(stateData.Data["ParentId"]));
@@ -591,7 +660,7 @@ public override void Execute()
- #line 147 "..\..\Dashboard\Pages\AwaitingJobsPage.cshtml"
+ #line 157 "..\..\Dashboard\Pages\AwaitingJobsPage.cshtml"
Write($"background-color: {JobHistoryRenderer.GetForegroundStateColor(parentStateData.Name)};");
@@ -601,7 +670,7 @@ public override void Execute()
- #line 148 "..\..\Dashboard\Pages\AwaitingJobsPage.cshtml"
+ #line 158 "..\..\Dashboard\Pages\AwaitingJobsPage.cshtml"
Write(parentStateData.Name);
@@ -612,7 +681,7 @@ public override void Execute()
- #line 151 "..\..\Dashboard\Pages\AwaitingJobsPage.cshtml"
+ #line 161 "..\..\Dashboard\Pages\AwaitingJobsPage.cshtml"
}
else
{
@@ -624,7 +693,7 @@ public override void Execute()
- #line 154 "..\..\Dashboard\Pages\AwaitingJobsPage.cshtml"
+ #line 164 "..\..\Dashboard\Pages\AwaitingJobsPage.cshtml"
Write(Strings.Common_NotAvailable);
@@ -634,7 +703,7 @@ public override void Execute()
- #line 155 "..\..\Dashboard\Pages\AwaitingJobsPage.cshtml"
+ #line 165 "..\..\Dashboard\Pages\AwaitingJobsPage.cshtml"
}
@@ -649,7 +718,7 @@ public override void Execute()
- #line 158 "..\..\Dashboard\Pages\AwaitingJobsPage.cshtml"
+ #line 168 "..\..\Dashboard\Pages\AwaitingJobsPage.cshtml"
Write(Html.RelativeTime(jobData.CreatedAt));
@@ -659,7 +728,7 @@ public override void Execute()
- #line 160 "..\..\Dashboard\Pages\AwaitingJobsPage.cshtml"
+ #line 170 "..\..\Dashboard\Pages\AwaitingJobsPage.cshtml"
}
@@ -669,7 +738,7 @@ public override void Execute()
- #line 162 "..\..\Dashboard\Pages\AwaitingJobsPage.cshtml"
+ #line 172 "..\..\Dashboard\Pages\AwaitingJobsPage.cshtml"
}
@@ -680,7 +749,7 @@ public override void Execute()
- #line 166 "..\..\Dashboard\Pages\AwaitingJobsPage.cshtml"
+ #line 176 "..\..\Dashboard\Pages\AwaitingJobsPage.cshtml"
Write(Html.Paginator(pager));
@@ -690,7 +759,7 @@ public override void Execute()
- #line 168 "..\..\Dashboard\Pages\AwaitingJobsPage.cshtml"
+ #line 178 "..\..\Dashboard\Pages\AwaitingJobsPage.cshtml"
}
else
{
@@ -702,7 +771,7 @@ public override void Execute()
- #line 172 "..\..\Dashboard\Pages\AwaitingJobsPage.cshtml"
+ #line 182 "..\..\Dashboard\Pages\AwaitingJobsPage.cshtml"
Write(Strings.AwaitingJobsPage_NoJobs);
@@ -712,7 +781,7 @@ public override void Execute()
- #line 174 "..\..\Dashboard\Pages\AwaitingJobsPage.cshtml"
+ #line 184 "..\..\Dashboard\Pages\AwaitingJobsPage.cshtml"
}
diff --git a/src/Hangfire.Core/Dashboard/Pages/DeletedJobsPage.cshtml b/src/Hangfire.Core/Dashboard/Pages/DeletedJobsPage.cshtml
index dae367c46..2bd92a361 100644
--- a/src/Hangfire.Core/Dashboard/Pages/DeletedJobsPage.cshtml
+++ b/src/Hangfire.Core/Dashboard/Pages/DeletedJobsPage.cshtml
@@ -53,11 +53,15 @@
@if (!IsReadOnly)
{
-
+
}
@Strings.Common_Id
@Strings.Common_Job
+ @if (DashboardOptions.DisplayArgumentsInLists)
+ {
+ @Strings.Arguments
+ }
@Strings.DeletedJobsPage_Table_Deleted
@@ -84,13 +88,19 @@
@if (job.Value == null)
{
- @Strings.Common_JobExpired
+ @Strings.Common_JobExpired
}
else
{
@Html.JobNameLink(job.Key, job.Value.Job)
+ if (DashboardOptions.DisplayArgumentsInLists)
+ {
+
+ @Html.JobArguments(job.Value.Job)
+
+ }
@if (job.Value.DeletedAt.HasValue)
{
diff --git a/src/Hangfire.Core/Dashboard/Pages/DeletedJobsPage.cshtml.cs b/src/Hangfire.Core/Dashboard/Pages/DeletedJobsPage.cshtml.cs
index 65870099c..791696c70 100644
--- a/src/Hangfire.Core/Dashboard/Pages/DeletedJobsPage.cshtml.cs
+++ b/src/Hangfire.Core/Dashboard/Pages/DeletedJobsPage.cshtml.cs
@@ -1,11 +1,11 @@
#pragma warning disable 1591
//------------------------------------------------------------------------------
//
-// This code was generated by a tool.
-// Runtime Version:4.0.30319.42000
+// Ce code a été généré par un outil.
+// Version du runtime :4.0.30319.42000
//
-// Changes to this file may cause incorrect behavior and will be lost if
-// the code is regenerated.
+// Les modifications apportées à ce fichier peuvent provoquer un comportement incorrect et seront perdues si
+// le code est régénéré.
//
//------------------------------------------------------------------------------
@@ -207,8 +207,8 @@ public override void Execute()
#line default
#line hidden
WriteLiteral(" \r\n " +
-" \r\n " +
-" \r\n");
+" \r\n " +
+" \r\n");
@@ -238,11 +238,42 @@ public override void Execute()
#line default
#line hidden
-WriteLiteral("\r\n ");
+WriteLiteral(" \r\n");
#line 61 "..\..\Dashboard\Pages\DeletedJobsPage.cshtml"
+ if (DashboardOptions.DisplayArgumentsInLists)
+ {
+
+
+ #line default
+ #line hidden
+WriteLiteral(" ");
+
+
+
+ #line 63 "..\..\Dashboard\Pages\DeletedJobsPage.cshtml"
+ Write(Strings.Arguments);
+
+
+ #line default
+ #line hidden
+WriteLiteral(" \r\n");
+
+
+
+ #line 64 "..\..\Dashboard\Pages\DeletedJobsPage.cshtml"
+ }
+
+
+ #line default
+ #line hidden
+WriteLiteral(" ");
+
+
+
+ #line 65 "..\..\Dashboard\Pages\DeletedJobsPage.cshtml"
Write(Strings.DeletedJobsPage_Table_Deleted);
@@ -253,7 +284,7 @@ public override void Execute()
- #line 65 "..\..\Dashboard\Pages\DeletedJobsPage.cshtml"
+ #line 69 "..\..\Dashboard\Pages\DeletedJobsPage.cshtml"
foreach (var job in jobs)
{
@@ -264,7 +295,7 @@ public override void Execute()
- #line 67 "..\..\Dashboard\Pages\DeletedJobsPage.cshtml"
+ #line 71 "..\..\Dashboard\Pages\DeletedJobsPage.cshtml"
Write(job.Value == null || !job.Value.InDeletedState ? "obsolete-data" : null);
@@ -274,7 +305,7 @@ public override void Execute()
- #line 67 "..\..\Dashboard\Pages\DeletedJobsPage.cshtml"
+ #line 71 "..\..\Dashboard\Pages\DeletedJobsPage.cshtml"
Write(job.Value != null && job.Value.InDeletedState && job.Value != null ? "hover" : null);
@@ -284,7 +315,7 @@ public override void Execute()
- #line 68 "..\..\Dashboard\Pages\DeletedJobsPage.cshtml"
+ #line 72 "..\..\Dashboard\Pages\DeletedJobsPage.cshtml"
if (!IsReadOnly)
{
@@ -295,7 +326,7 @@ public override void Execute()
- #line 71 "..\..\Dashboard\Pages\DeletedJobsPage.cshtml"
+ #line 75 "..\..\Dashboard\Pages\DeletedJobsPage.cshtml"
if (job.Value == null || job.Value.InDeletedState)
{
@@ -307,7 +338,7 @@ public override void Execute()
- #line 73 "..\..\Dashboard\Pages\DeletedJobsPage.cshtml"
+ #line 77 "..\..\Dashboard\Pages\DeletedJobsPage.cshtml"
Write(job.Key);
@@ -317,7 +348,7 @@ public override void Execute()
- #line 74 "..\..\Dashboard\Pages\DeletedJobsPage.cshtml"
+ #line 78 "..\..\Dashboard\Pages\DeletedJobsPage.cshtml"
}
@@ -327,7 +358,7 @@ public override void Execute()
- #line 76 "..\..\Dashboard\Pages\DeletedJobsPage.cshtml"
+ #line 80 "..\..\Dashboard\Pages\DeletedJobsPage.cshtml"
}
@@ -338,7 +369,7 @@ public override void Execute()
- #line 78 "..\..\Dashboard\Pages\DeletedJobsPage.cshtml"
+ #line 82 "..\..\Dashboard\Pages\DeletedJobsPage.cshtml"
Write(Html.JobIdLink(job.Key));
@@ -348,7 +379,7 @@ public override void Execute()
- #line 79 "..\..\Dashboard\Pages\DeletedJobsPage.cshtml"
+ #line 83 "..\..\Dashboard\Pages\DeletedJobsPage.cshtml"
if (job.Value != null && !job.Value.InDeletedState)
{
@@ -359,7 +390,7 @@ public override void Execute()
- #line 81 "..\..\Dashboard\Pages\DeletedJobsPage.cshtml"
+ #line 85 "..\..\Dashboard\Pages\DeletedJobsPage.cshtml"
Write(Strings.Common_JobStateChanged_Text);
@@ -369,7 +400,7 @@ public override void Execute()
- #line 82 "..\..\Dashboard\Pages\DeletedJobsPage.cshtml"
+ #line 86 "..\..\Dashboard\Pages\DeletedJobsPage.cshtml"
}
@@ -379,19 +410,29 @@ public override void Execute()
- #line 85 "..\..\Dashboard\Pages\DeletedJobsPage.cshtml"
+ #line 89 "..\..\Dashboard\Pages\DeletedJobsPage.cshtml"
if (job.Value == null)
{
#line default
#line hidden
-WriteLiteral(" ");
+WriteLiteral(" ");
+
+
+
+ #line 91 "..\..\Dashboard\Pages\DeletedJobsPage.cshtml"
+ Write(Strings.Common_JobExpired);
#line default
@@ -400,7 +441,7 @@ public override void Execute()
- #line 88 "..\..\Dashboard\Pages\DeletedJobsPage.cshtml"
+ #line 92 "..\..\Dashboard\Pages\DeletedJobsPage.cshtml"
}
else
{
@@ -413,7 +454,7 @@ public override void Execute()
- #line 92 "..\..\Dashboard\Pages\DeletedJobsPage.cshtml"
+ #line 96 "..\..\Dashboard\Pages\DeletedJobsPage.cshtml"
Write(Html.JobNameLink(job.Key, job.Value.Job));
@@ -422,12 +463,40 @@ public override void Execute()
WriteLiteral("\r\n \r\n");
+
+ #line 98 "..\..\Dashboard\Pages\DeletedJobsPage.cshtml"
+ if (DashboardOptions.DisplayArgumentsInLists)
+ {
+
+
+ #line default
+ #line hidden
+WriteLiteral(" \r\n" +
+" ");
+
+
+ #line 101 "..\..\Dashboard\Pages\DeletedJobsPage.cshtml"
+ Write(Html.JobArguments(job.Value.Job));
+
+
+ #line default
+ #line hidden
+WriteLiteral("\r\n \r\n");
+
+
+
+ #line 103 "..\..\Dashboard\Pages\DeletedJobsPage.cshtml"
+ }
+
+
+ #line default
+ #line hidden
WriteLiteral(" \r\n");
- #line 95 "..\..\Dashboard\Pages\DeletedJobsPage.cshtml"
+ #line 105 "..\..\Dashboard\Pages\DeletedJobsPage.cshtml"
if (job.Value.DeletedAt.HasValue)
{
@@ -435,14 +504,14 @@ public override void Execute()
#line default
#line hidden
- #line 97 "..\..\Dashboard\Pages\DeletedJobsPage.cshtml"
+ #line 107 "..\..\Dashboard\Pages\DeletedJobsPage.cshtml"
Write(Html.RelativeTime(job.Value.DeletedAt.Value));
#line default
#line hidden
- #line 97 "..\..\Dashboard\Pages\DeletedJobsPage.cshtml"
+ #line 107 "..\..\Dashboard\Pages\DeletedJobsPage.cshtml"
}
@@ -453,7 +522,7 @@ public override void Execute()
- #line 100 "..\..\Dashboard\Pages\DeletedJobsPage.cshtml"
+ #line 110 "..\..\Dashboard\Pages\DeletedJobsPage.cshtml"
}
@@ -463,7 +532,7 @@ public override void Execute()
- #line 102 "..\..\Dashboard\Pages\DeletedJobsPage.cshtml"
+ #line 112 "..\..\Dashboard\Pages\DeletedJobsPage.cshtml"
}
@@ -474,7 +543,7 @@ public override void Execute()
- #line 107 "..\..\Dashboard\Pages\DeletedJobsPage.cshtml"
+ #line 117 "..\..\Dashboard\Pages\DeletedJobsPage.cshtml"
Write(Html.Paginator(pager));
@@ -484,7 +553,7 @@ public override void Execute()
- #line 109 "..\..\Dashboard\Pages\DeletedJobsPage.cshtml"
+ #line 119 "..\..\Dashboard\Pages\DeletedJobsPage.cshtml"
}
diff --git a/src/Hangfire.Core/Dashboard/Pages/EnqueuedJobsPage.cshtml b/src/Hangfire.Core/Dashboard/Pages/EnqueuedJobsPage.cshtml
index c0960c7a4..262b0e191 100644
--- a/src/Hangfire.Core/Dashboard/Pages/EnqueuedJobsPage.cshtml
+++ b/src/Hangfire.Core/Dashboard/Pages/EnqueuedJobsPage.cshtml
@@ -68,6 +68,10 @@
@Strings.Common_Id
@Strings.Common_State
@Strings.Common_Job
+ @if (DashboardOptions.DisplayArgumentsInLists)
+ {
+ @Strings.Arguments
+ }
@Strings.Common_Enqueued
@@ -80,7 +84,7 @@
@if (job.Value != null)
{
-
+
}
}
@@ -93,7 +97,7 @@
@if (job.Value == null)
{
- @Strings.Common_JobExpired
+ @Strings.Common_JobExpired
}
else
{
@@ -103,6 +107,12 @@
@Html.JobNameLink(job.Key, job.Value.Job)
+ if (DashboardOptions.DisplayArgumentsInLists)
+ {
+
+ @Html.JobArguments(job.Value.Job)
+
+ }
@if (job.Value.EnqueuedAt.HasValue)
{
diff --git a/src/Hangfire.Core/Dashboard/Pages/EnqueuedJobsPage.cshtml.cs b/src/Hangfire.Core/Dashboard/Pages/EnqueuedJobsPage.cshtml.cs
index 9cfd27354..9b43d12c5 100644
--- a/src/Hangfire.Core/Dashboard/Pages/EnqueuedJobsPage.cshtml.cs
+++ b/src/Hangfire.Core/Dashboard/Pages/EnqueuedJobsPage.cshtml.cs
@@ -1,11 +1,11 @@
#pragma warning disable 1591
//------------------------------------------------------------------------------
//
-// This code was generated by a tool.
-// Runtime Version:4.0.30319.42000
+// Ce code a été généré par un outil.
+// Version du runtime :4.0.30319.42000
//
-// Changes to this file may cause incorrect behavior and will be lost if
-// the code is regenerated.
+// Les modifications apportées à ce fichier peuvent provoquer un comportement incorrect et seront perdues si
+// le code est régénéré.
//
//------------------------------------------------------------------------------
@@ -294,11 +294,42 @@ public override void Execute()
#line default
#line hidden
-WriteLiteral("\r\n ");
+WriteLiteral(" \r\n");
#line 71 "..\..\Dashboard\Pages\EnqueuedJobsPage.cshtml"
+ if (DashboardOptions.DisplayArgumentsInLists)
+ {
+
+
+ #line default
+ #line hidden
+WriteLiteral(" ");
+
+
+
+ #line 73 "..\..\Dashboard\Pages\EnqueuedJobsPage.cshtml"
+ Write(Strings.Arguments);
+
+
+ #line default
+ #line hidden
+WriteLiteral(" \r\n");
+
+
+
+ #line 74 "..\..\Dashboard\Pages\EnqueuedJobsPage.cshtml"
+ }
+
+
+ #line default
+ #line hidden
+WriteLiteral(" ");
+
+
+
+ #line 75 "..\..\Dashboard\Pages\EnqueuedJobsPage.cshtml"
Write(Strings.Common_Enqueued);
@@ -309,7 +340,7 @@ public override void Execute()
- #line 75 "..\..\Dashboard\Pages\EnqueuedJobsPage.cshtml"
+ #line 79 "..\..\Dashboard\Pages\EnqueuedJobsPage.cshtml"
foreach (var job in enqueuedJobs)
{
@@ -320,7 +351,7 @@ public override void Execute()
- #line 77 "..\..\Dashboard\Pages\EnqueuedJobsPage.cshtml"
+ #line 81 "..\..\Dashboard\Pages\EnqueuedJobsPage.cshtml"
Write(job.Value == null || !job.Value.InEnqueuedState ? "obsolete-data" : null);
@@ -330,7 +361,7 @@ public override void Execute()
- #line 78 "..\..\Dashboard\Pages\EnqueuedJobsPage.cshtml"
+ #line 82 "..\..\Dashboard\Pages\EnqueuedJobsPage.cshtml"
if (!IsReadOnly)
{
@@ -341,7 +372,7 @@ public override void Execute()
- #line 81 "..\..\Dashboard\Pages\EnqueuedJobsPage.cshtml"
+ #line 85 "..\..\Dashboard\Pages\EnqueuedJobsPage.cshtml"
if (job.Value != null)
{
@@ -353,17 +384,17 @@ public override void Execute()
- #line 83 "..\..\Dashboard\Pages\EnqueuedJobsPage.cshtml"
+ #line 87 "..\..\Dashboard\Pages\EnqueuedJobsPage.cshtml"
Write(job.Key);
#line default
#line hidden
-WriteLiteral("\"/>\r\n");
+WriteLiteral("\" />\r\n");
- #line 84 "..\..\Dashboard\Pages\EnqueuedJobsPage.cshtml"
+ #line 88 "..\..\Dashboard\Pages\EnqueuedJobsPage.cshtml"
}
@@ -373,7 +404,7 @@ public override void Execute()
- #line 86 "..\..\Dashboard\Pages\EnqueuedJobsPage.cshtml"
+ #line 90 "..\..\Dashboard\Pages\EnqueuedJobsPage.cshtml"
}
@@ -384,7 +415,7 @@ public override void Execute()
- #line 88 "..\..\Dashboard\Pages\EnqueuedJobsPage.cshtml"
+ #line 92 "..\..\Dashboard\Pages\EnqueuedJobsPage.cshtml"
Write(Html.JobIdLink(job.Key));
@@ -394,7 +425,7 @@ public override void Execute()
- #line 89 "..\..\Dashboard\Pages\EnqueuedJobsPage.cshtml"
+ #line 93 "..\..\Dashboard\Pages\EnqueuedJobsPage.cshtml"
if (job.Value != null && !job.Value.InEnqueuedState)
{
@@ -405,7 +436,7 @@ public override void Execute()
- #line 91 "..\..\Dashboard\Pages\EnqueuedJobsPage.cshtml"
+ #line 95 "..\..\Dashboard\Pages\EnqueuedJobsPage.cshtml"
Write(Strings.Common_JobStateChanged_Text);
@@ -415,7 +446,7 @@ public override void Execute()
- #line 92 "..\..\Dashboard\Pages\EnqueuedJobsPage.cshtml"
+ #line 96 "..\..\Dashboard\Pages\EnqueuedJobsPage.cshtml"
}
@@ -425,19 +456,29 @@ public override void Execute()
- #line 94 "..\..\Dashboard\Pages\EnqueuedJobsPage.cshtml"
+ #line 98 "..\..\Dashboard\Pages\EnqueuedJobsPage.cshtml"
if (job.Value == null)
{
#line default
#line hidden
-WriteLiteral(" ");
+WriteLiteral(" ");
+
+
+
+ #line 100 "..\..\Dashboard\Pages\EnqueuedJobsPage.cshtml"
+ Write(Strings.Common_JobExpired);
#line default
@@ -446,7 +487,7 @@ public override void Execute()
- #line 97 "..\..\Dashboard\Pages\EnqueuedJobsPage.cshtml"
+ #line 101 "..\..\Dashboard\Pages\EnqueuedJobsPage.cshtml"
}
else
{
@@ -459,7 +500,7 @@ public override void Execute()
- #line 101 "..\..\Dashboard\Pages\EnqueuedJobsPage.cshtml"
+ #line 105 "..\..\Dashboard\Pages\EnqueuedJobsPage.cshtml"
Write(Html.StateLabel(job.Value.State));
@@ -474,7 +515,7 @@ public override void Execute()
- #line 104 "..\..\Dashboard\Pages\EnqueuedJobsPage.cshtml"
+ #line 108 "..\..\Dashboard\Pages\EnqueuedJobsPage.cshtml"
Write(Html.JobNameLink(job.Key, job.Value.Job));
@@ -483,12 +524,40 @@ public override void Execute()
WriteLiteral("\r\n \r\n");
+
+ #line 110 "..\..\Dashboard\Pages\EnqueuedJobsPage.cshtml"
+ if (DashboardOptions.DisplayArgumentsInLists)
+ {
+
+
+ #line default
+ #line hidden
+WriteLiteral(" \r\n " +
+" ");
+
+
+ #line 113 "..\..\Dashboard\Pages\EnqueuedJobsPage.cshtml"
+ Write(Html.JobArguments(job.Value.Job));
+
+
+ #line default
+ #line hidden
+WriteLiteral("\r\n \r\n");
+
+
+
+ #line 115 "..\..\Dashboard\Pages\EnqueuedJobsPage.cshtml"
+ }
+
+
+ #line default
+ #line hidden
WriteLiteral(" \r\n");
- #line 107 "..\..\Dashboard\Pages\EnqueuedJobsPage.cshtml"
+ #line 117 "..\..\Dashboard\Pages\EnqueuedJobsPage.cshtml"
if (job.Value.EnqueuedAt.HasValue)
{
@@ -496,14 +565,14 @@ public override void Execute()
#line default
#line hidden
- #line 109 "..\..\Dashboard\Pages\EnqueuedJobsPage.cshtml"
+ #line 119 "..\..\Dashboard\Pages\EnqueuedJobsPage.cshtml"
Write(Html.RelativeTime(job.Value.EnqueuedAt.Value));
#line default
#line hidden
- #line 109 "..\..\Dashboard\Pages\EnqueuedJobsPage.cshtml"
+ #line 119 "..\..\Dashboard\Pages\EnqueuedJobsPage.cshtml"
}
else
@@ -516,7 +585,7 @@ public override void Execute()
- #line 113 "..\..\Dashboard\Pages\EnqueuedJobsPage.cshtml"
+ #line 123 "..\..\Dashboard\Pages\EnqueuedJobsPage.cshtml"
Write(Strings.Common_NotAvailable);
@@ -526,7 +595,7 @@ public override void Execute()
- #line 114 "..\..\Dashboard\Pages\EnqueuedJobsPage.cshtml"
+ #line 124 "..\..\Dashboard\Pages\EnqueuedJobsPage.cshtml"
}
@@ -536,7 +605,7 @@ public override void Execute()
- #line 116 "..\..\Dashboard\Pages\EnqueuedJobsPage.cshtml"
+ #line 126 "..\..\Dashboard\Pages\EnqueuedJobsPage.cshtml"
}
@@ -546,7 +615,7 @@ public override void Execute()
- #line 118 "..\..\Dashboard\Pages\EnqueuedJobsPage.cshtml"
+ #line 128 "..\..\Dashboard\Pages\EnqueuedJobsPage.cshtml"
}
@@ -557,7 +626,7 @@ public override void Execute()
- #line 123 "..\..\Dashboard\Pages\EnqueuedJobsPage.cshtml"
+ #line 133 "..\..\Dashboard\Pages\EnqueuedJobsPage.cshtml"
Write(Html.Paginator(pager));
@@ -567,7 +636,7 @@ public override void Execute()
- #line 125 "..\..\Dashboard\Pages\EnqueuedJobsPage.cshtml"
+ #line 135 "..\..\Dashboard\Pages\EnqueuedJobsPage.cshtml"
}
diff --git a/src/Hangfire.Core/Dashboard/Pages/FailedJobsPage.cshtml b/src/Hangfire.Core/Dashboard/Pages/FailedJobsPage.cshtml
index a3a161731..2ecbaa21f 100644
--- a/src/Hangfire.Core/Dashboard/Pages/FailedJobsPage.cshtml
+++ b/src/Hangfire.Core/Dashboard/Pages/FailedJobsPage.cshtml
@@ -69,11 +69,15 @@
@if (!IsReadOnly)
{
-
+
}
@Strings.Common_Id
@Strings.Common_Job
+ @if (DashboardOptions.DisplayArgumentsInLists)
+ {
+ @Strings.Arguments
+ }
@Strings.FailedJobsPage_Table_Failed
@@ -100,7 +104,7 @@
@if (job.Value == null)
{
-
+
@Strings.Common_JobExpired
}
@@ -110,6 +114,12 @@
@Html.JobNameLink(job.Key, job.Value.Job)
+ @if (DashboardOptions.DisplayArgumentsInLists)
+ {
+
+ @Html.JobArguments(job.Value.Job)
+
+ }
@if (!String.IsNullOrEmpty(job.Value.ExceptionMessage))
{
@@ -128,7 +138,7 @@
if (job.Value != null && job.Value.InFailedState)
{
-
+
@job.Value.ExceptionType
diff --git a/src/Hangfire.Core/Dashboard/Pages/FailedJobsPage.cshtml.cs b/src/Hangfire.Core/Dashboard/Pages/FailedJobsPage.cshtml.cs
index b4912f58e..3dcba6159 100644
--- a/src/Hangfire.Core/Dashboard/Pages/FailedJobsPage.cshtml.cs
+++ b/src/Hangfire.Core/Dashboard/Pages/FailedJobsPage.cshtml.cs
@@ -1,11 +1,11 @@
#pragma warning disable 1591
//------------------------------------------------------------------------------
//
-// This code was generated by a tool.
-// Runtime Version:4.0.30319.42000
+// Ce code a été généré par un outil.
+// Version du runtime :4.0.30319.42000
//
-// Changes to this file may cause incorrect behavior and will be lost if
-// the code is regenerated.
+// Les modifications apportées à ce fichier peuvent provoquer un comportement incorrect et seront perdues si
+// le code est régénéré.
//
//------------------------------------------------------------------------------
@@ -294,8 +294,8 @@ public override void Execute()
#line default
#line hidden
WriteLiteral("
\r\n " +
-" \r\n " +
-" \r\n");
+"
\r\n " +
+" \r\n");
@@ -325,11 +325,42 @@ public override void Execute()
#line default
#line hidden
-WriteLiteral("\r\n
");
+WriteLiteral(" \r\n");
#line 77 "..\..\Dashboard\Pages\FailedJobsPage.cshtml"
+ if (DashboardOptions.DisplayArgumentsInLists)
+ {
+
+
+ #line default
+ #line hidden
+WriteLiteral("
");
+
+
+
+ #line 79 "..\..\Dashboard\Pages\FailedJobsPage.cshtml"
+ Write(Strings.Arguments);
+
+
+ #line default
+ #line hidden
+WriteLiteral(" \r\n");
+
+
+
+ #line 80 "..\..\Dashboard\Pages\FailedJobsPage.cshtml"
+ }
+
+
+ #line default
+ #line hidden
+WriteLiteral("
");
+
+
+
+ #line 81 "..\..\Dashboard\Pages\FailedJobsPage.cshtml"
Write(Strings.FailedJobsPage_Table_Failed);
@@ -340,7 +371,7 @@ public override void Execute()
- #line 81 "..\..\Dashboard\Pages\FailedJobsPage.cshtml"
+ #line 85 "..\..\Dashboard\Pages\FailedJobsPage.cshtml"
var index = 0;
@@ -348,7 +379,7 @@ public override void Execute()
#line hidden
- #line 82 "..\..\Dashboard\Pages\FailedJobsPage.cshtml"
+ #line 86 "..\..\Dashboard\Pages\FailedJobsPage.cshtml"
foreach (var job in failedJobs)
{
@@ -359,7 +390,7 @@ public override void Execute()
- #line 84 "..\..\Dashboard\Pages\FailedJobsPage.cshtml"
+ #line 88 "..\..\Dashboard\Pages\FailedJobsPage.cshtml"
Write(job.Value == null || !job.Value.InFailedState ? "obsolete-data" : null);
@@ -369,7 +400,7 @@ public override void Execute()
- #line 84 "..\..\Dashboard\Pages\FailedJobsPage.cshtml"
+ #line 88 "..\..\Dashboard\Pages\FailedJobsPage.cshtml"
Write(job.Value != null && job.Value.InFailedState ? "hover" : null);
@@ -379,7 +410,7 @@ public override void Execute()
- #line 85 "..\..\Dashboard\Pages\FailedJobsPage.cshtml"
+ #line 89 "..\..\Dashboard\Pages\FailedJobsPage.cshtml"
if (!IsReadOnly)
{
@@ -390,7 +421,7 @@ public override void Execute()
- #line 87 "..\..\Dashboard\Pages\FailedJobsPage.cshtml"
+ #line 91 "..\..\Dashboard\Pages\FailedJobsPage.cshtml"
Write(job.Value != null && job.Value.InFailedState ? "2" : "1");
@@ -400,7 +431,7 @@ public override void Execute()
- #line 88 "..\..\Dashboard\Pages\FailedJobsPage.cshtml"
+ #line 92 "..\..\Dashboard\Pages\FailedJobsPage.cshtml"
if (job.Value != null && job.Value.InFailedState)
{
@@ -412,7 +443,7 @@ public override void Execute()
- #line 90 "..\..\Dashboard\Pages\FailedJobsPage.cshtml"
+ #line 94 "..\..\Dashboard\Pages\FailedJobsPage.cshtml"
Write(job.Key);
@@ -422,7 +453,7 @@ public override void Execute()
- #line 91 "..\..\Dashboard\Pages\FailedJobsPage.cshtml"
+ #line 95 "..\..\Dashboard\Pages\FailedJobsPage.cshtml"
}
@@ -432,7 +463,7 @@ public override void Execute()
- #line 93 "..\..\Dashboard\Pages\FailedJobsPage.cshtml"
+ #line 97 "..\..\Dashboard\Pages\FailedJobsPage.cshtml"
}
@@ -442,7 +473,7 @@ public override void Execute()
- #line 94 "..\..\Dashboard\Pages\FailedJobsPage.cshtml"
+ #line 98 "..\..\Dashboard\Pages\FailedJobsPage.cshtml"
Write(job.Value != null && job.Value.InFailedState ? "2" : "1");
@@ -452,7 +483,7 @@ public override void Execute()
- #line 95 "..\..\Dashboard\Pages\FailedJobsPage.cshtml"
+ #line 99 "..\..\Dashboard\Pages\FailedJobsPage.cshtml"
Write(Html.JobIdLink(job.Key));
@@ -462,7 +493,7 @@ public override void Execute()
- #line 96 "..\..\Dashboard\Pages\FailedJobsPage.cshtml"
+ #line 100 "..\..\Dashboard\Pages\FailedJobsPage.cshtml"
if (job.Value != null && !job.Value.InFailedState)
{
@@ -473,7 +504,7 @@ public override void Execute()
- #line 98 "..\..\Dashboard\Pages\FailedJobsPage.cshtml"
+ #line 102 "..\..\Dashboard\Pages\FailedJobsPage.cshtml"
Write(Strings.Common_JobStateChanged_Text);
@@ -483,7 +514,7 @@ public override void Execute()
- #line 99 "..\..\Dashboard\Pages\FailedJobsPage.cshtml"
+ #line 103 "..\..\Dashboard\Pages\FailedJobsPage.cshtml"
}
@@ -493,19 +524,28 @@ public override void Execute()
- #line 101 "..\..\Dashboard\Pages\FailedJobsPage.cshtml"
+ #line 105 "..\..\Dashboard\Pages\FailedJobsPage.cshtml"
if (job.Value == null)
{
#line default
#line hidden
-WriteLiteral(" \r\n " +
-" ");
+WriteLiteral(" \r\n ");
- #line 104 "..\..\Dashboard\Pages\FailedJobsPage.cshtml"
+ #line 108 "..\..\Dashboard\Pages\FailedJobsPage.cshtml"
Write(Strings.Common_JobExpired);
@@ -515,7 +555,7 @@ public override void Execute()
- #line 106 "..\..\Dashboard\Pages\FailedJobsPage.cshtml"
+ #line 110 "..\..\Dashboard\Pages\FailedJobsPage.cshtml"
}
else
{
@@ -529,7 +569,7 @@ public override void Execute()
- #line 111 "..\..\Dashboard\Pages\FailedJobsPage.cshtml"
+ #line 115 "..\..\Dashboard\Pages\FailedJobsPage.cshtml"
Write(Html.JobNameLink(job.Key, job.Value.Job));
@@ -539,7 +579,37 @@ public override void Execute()
- #line 113 "..\..\Dashboard\Pages\FailedJobsPage.cshtml"
+ #line 117 "..\..\Dashboard\Pages\FailedJobsPage.cshtml"
+ if (DashboardOptions.DisplayArgumentsInLists)
+ {
+
+
+ #line default
+ #line hidden
+WriteLiteral(" \r\n ");
+
+
+
+ #line 120 "..\..\Dashboard\Pages\FailedJobsPage.cshtml"
+ Write(Html.JobArguments(job.Value.Job));
+
+
+ #line default
+ #line hidden
+WriteLiteral("\r\n \r\n");
+
+
+
+ #line 122 "..\..\Dashboard\Pages\FailedJobsPage.cshtml"
+ }
+
+
+ #line default
+ #line hidden
+
+
+ #line 123 "..\..\Dashboard\Pages\FailedJobsPage.cshtml"
if (!String.IsNullOrEmpty(job.Value.ExceptionMessage))
{
@@ -551,7 +621,7 @@ public override void Execute()
- #line 116 "..\..\Dashboard\Pages\FailedJobsPage.cshtml"
+ #line 126 "..\..\Dashboard\Pages\FailedJobsPage.cshtml"
Write(job.Value.Reason);
@@ -561,7 +631,7 @@ public override void Execute()
- #line 116 "..\..\Dashboard\Pages\FailedJobsPage.cshtml"
+ #line 126 "..\..\Dashboard\Pages\FailedJobsPage.cshtml"
Write(index == 0 ? Strings.Common_LessDetails : Strings.Common_MoreDetails);
@@ -571,7 +641,7 @@ public override void Execute()
- #line 118 "..\..\Dashboard\Pages\FailedJobsPage.cshtml"
+ #line 128 "..\..\Dashboard\Pages\FailedJobsPage.cshtml"
}
@@ -585,7 +655,7 @@ public override void Execute()
- #line 121 "..\..\Dashboard\Pages\FailedJobsPage.cshtml"
+ #line 131 "..\..\Dashboard\Pages\FailedJobsPage.cshtml"
if (job.Value.FailedAt.HasValue)
{
@@ -593,14 +663,14 @@ public override void Execute()
#line default
#line hidden
- #line 123 "..\..\Dashboard\Pages\FailedJobsPage.cshtml"
+ #line 133 "..\..\Dashboard\Pages\FailedJobsPage.cshtml"
Write(Html.RelativeTime(job.Value.FailedAt.Value));
#line default
#line hidden
- #line 123 "..\..\Dashboard\Pages\FailedJobsPage.cshtml"
+ #line 133 "..\..\Dashboard\Pages\FailedJobsPage.cshtml"
}
@@ -611,7 +681,7 @@ public override void Execute()
- #line 126 "..\..\Dashboard\Pages\FailedJobsPage.cshtml"
+ #line 136 "..\..\Dashboard\Pages\FailedJobsPage.cshtml"
}
@@ -621,7 +691,7 @@ public override void Execute()
- #line 128 "..\..\Dashboard\Pages\FailedJobsPage.cshtml"
+ #line 138 "..\..\Dashboard\Pages\FailedJobsPage.cshtml"
if (job.Value != null && job.Value.InFailedState)
{
@@ -629,12 +699,22 @@ public override void Execute()
#line default
#line hidden
WriteLiteral(" \r\n " +
-" \r\n " +
-"
@@ -102,7 +106,7 @@
@if (job.Value == null)
{
- @Strings.Common_JobExpired
+ @Strings.Common_JobExpired
}
else
{
@@ -112,6 +116,12 @@
@Html.JobNameLink(job.Key, job.Value.Job)
+ if (DashboardOptions.DisplayArgumentsInLists)
+ {
+
+ @Html.JobArguments(job.Value.Job)
+
+ }
@if (job.Value.FetchedAt.HasValue)
{
diff --git a/src/Hangfire.Core/Dashboard/Pages/FetchedJobsPage.cshtml.cs b/src/Hangfire.Core/Dashboard/Pages/FetchedJobsPage.cshtml.cs
index 5782a0ad2..8ec3c41d1 100644
--- a/src/Hangfire.Core/Dashboard/Pages/FetchedJobsPage.cshtml.cs
+++ b/src/Hangfire.Core/Dashboard/Pages/FetchedJobsPage.cshtml.cs
@@ -1,11 +1,11 @@
#pragma warning disable 1591
//------------------------------------------------------------------------------
//
-// This code was generated by a tool.
-// Runtime Version:4.0.30319.42000
+// Ce code a été généré par un outil.
+// Version du runtime :4.0.30319.42000
//
-// Changes to this file may cause incorrect behavior and will be lost if
-// the code is regenerated.
+// Les modifications apportées à ce fichier peuvent provoquer un comportement incorrect et seront perdues si
+// le code est régénéré.
//
//------------------------------------------------------------------------------
@@ -304,8 +304,8 @@ public override void Execute()
#line default
#line hidden
WriteLiteral(" \r\n " +
-" \r\n " +
-" \r\n");
+" \r\n " +
+" \r\n");
@@ -345,11 +345,42 @@ public override void Execute()
#line default
#line hidden
-WriteLiteral("\r\n ");
+WriteLiteral(" \r\n");
#line 84 "..\..\Dashboard\Pages\FetchedJobsPage.cshtml"
+ if (DashboardOptions.DisplayArgumentsInLists)
+ {
+
+
+ #line default
+ #line hidden
+WriteLiteral(" ");
+
+
+
+ #line 86 "..\..\Dashboard\Pages\FetchedJobsPage.cshtml"
+ Write(Strings.Arguments);
+
+
+ #line default
+ #line hidden
+WriteLiteral(" \r\n");
+
+
+
+ #line 87 "..\..\Dashboard\Pages\FetchedJobsPage.cshtml"
+ }
+
+
+ #line default
+ #line hidden
+WriteLiteral(" ");
+
+
+
+ #line 88 "..\..\Dashboard\Pages\FetchedJobsPage.cshtml"
Write(Strings.Common_Fetched);
@@ -360,7 +391,7 @@ public override void Execute()
- #line 88 "..\..\Dashboard\Pages\FetchedJobsPage.cshtml"
+ #line 92 "..\..\Dashboard\Pages\FetchedJobsPage.cshtml"
foreach (var job in fetchedJobs)
{
@@ -371,7 +402,7 @@ public override void Execute()
- #line 90 "..\..\Dashboard\Pages\FetchedJobsPage.cshtml"
+ #line 94 "..\..\Dashboard\Pages\FetchedJobsPage.cshtml"
Write(job.Value == null ? "obsolete-data" : null);
@@ -381,7 +412,7 @@ public override void Execute()
- #line 91 "..\..\Dashboard\Pages\FetchedJobsPage.cshtml"
+ #line 95 "..\..\Dashboard\Pages\FetchedJobsPage.cshtml"
if (!IsReadOnly)
{
@@ -392,7 +423,7 @@ public override void Execute()
- #line 94 "..\..\Dashboard\Pages\FetchedJobsPage.cshtml"
+ #line 98 "..\..\Dashboard\Pages\FetchedJobsPage.cshtml"
if (job.Value != null)
{
@@ -404,7 +435,7 @@ public override void Execute()
- #line 96 "..\..\Dashboard\Pages\FetchedJobsPage.cshtml"
+ #line 100 "..\..\Dashboard\Pages\FetchedJobsPage.cshtml"
Write(job.Key);
@@ -414,7 +445,7 @@ public override void Execute()
- #line 97 "..\..\Dashboard\Pages\FetchedJobsPage.cshtml"
+ #line 101 "..\..\Dashboard\Pages\FetchedJobsPage.cshtml"
}
@@ -424,7 +455,7 @@ public override void Execute()
- #line 99 "..\..\Dashboard\Pages\FetchedJobsPage.cshtml"
+ #line 103 "..\..\Dashboard\Pages\FetchedJobsPage.cshtml"
}
@@ -435,7 +466,7 @@ public override void Execute()
- #line 101 "..\..\Dashboard\Pages\FetchedJobsPage.cshtml"
+ #line 105 "..\..\Dashboard\Pages\FetchedJobsPage.cshtml"
Write(Html.JobIdLink(job.Key));
@@ -445,19 +476,29 @@ public override void Execute()
- #line 103 "..\..\Dashboard\Pages\FetchedJobsPage.cshtml"
+ #line 107 "..\..\Dashboard\Pages\FetchedJobsPage.cshtml"
if (job.Value == null)
{
#line default
#line hidden
-WriteLiteral(" ");
+WriteLiteral(" ");
+
+
+
+ #line 109 "..\..\Dashboard\Pages\FetchedJobsPage.cshtml"
+ Write(Strings.Common_JobExpired);
#line default
@@ -466,7 +507,7 @@ public override void Execute()
- #line 106 "..\..\Dashboard\Pages\FetchedJobsPage.cshtml"
+ #line 110 "..\..\Dashboard\Pages\FetchedJobsPage.cshtml"
}
else
{
@@ -479,7 +520,7 @@ public override void Execute()
- #line 110 "..\..\Dashboard\Pages\FetchedJobsPage.cshtml"
+ #line 114 "..\..\Dashboard\Pages\FetchedJobsPage.cshtml"
Write(Html.StateLabel(job.Value.State));
@@ -494,7 +535,7 @@ public override void Execute()
- #line 113 "..\..\Dashboard\Pages\FetchedJobsPage.cshtml"
+ #line 117 "..\..\Dashboard\Pages\FetchedJobsPage.cshtml"
Write(Html.JobNameLink(job.Key, job.Value.Job));
@@ -503,12 +544,40 @@ public override void Execute()
WriteLiteral("\r\n \r\n");
+
+ #line 119 "..\..\Dashboard\Pages\FetchedJobsPage.cshtml"
+ if (DashboardOptions.DisplayArgumentsInLists)
+ {
+
+
+ #line default
+ #line hidden
+WriteLiteral(" \r\n " +
+" ");
+
+
+ #line 122 "..\..\Dashboard\Pages\FetchedJobsPage.cshtml"
+ Write(Html.JobArguments(job.Value.Job));
+
+
+ #line default
+ #line hidden
+WriteLiteral("\r\n \r\n");
+
+
+
+ #line 124 "..\..\Dashboard\Pages\FetchedJobsPage.cshtml"
+ }
+
+
+ #line default
+ #line hidden
WriteLiteral(" \r\n");
- #line 116 "..\..\Dashboard\Pages\FetchedJobsPage.cshtml"
+ #line 126 "..\..\Dashboard\Pages\FetchedJobsPage.cshtml"
if (job.Value.FetchedAt.HasValue)
{
@@ -516,14 +585,14 @@ public override void Execute()
#line default
#line hidden
- #line 118 "..\..\Dashboard\Pages\FetchedJobsPage.cshtml"
+ #line 128 "..\..\Dashboard\Pages\FetchedJobsPage.cshtml"
Write(Html.RelativeTime(job.Value.FetchedAt.Value));
#line default
#line hidden
- #line 118 "..\..\Dashboard\Pages\FetchedJobsPage.cshtml"
+ #line 128 "..\..\Dashboard\Pages\FetchedJobsPage.cshtml"
}
@@ -534,7 +603,7 @@ public override void Execute()
- #line 121 "..\..\Dashboard\Pages\FetchedJobsPage.cshtml"
+ #line 131 "..\..\Dashboard\Pages\FetchedJobsPage.cshtml"
}
@@ -544,7 +613,7 @@ public override void Execute()
- #line 123 "..\..\Dashboard\Pages\FetchedJobsPage.cshtml"
+ #line 133 "..\..\Dashboard\Pages\FetchedJobsPage.cshtml"
}
@@ -555,7 +624,7 @@ public override void Execute()
- #line 128 "..\..\Dashboard\Pages\FetchedJobsPage.cshtml"
+ #line 138 "..\..\Dashboard\Pages\FetchedJobsPage.cshtml"
Write(Html.Paginator(pager));
@@ -565,7 +634,7 @@ public override void Execute()
- #line 130 "..\..\Dashboard\Pages\FetchedJobsPage.cshtml"
+ #line 140 "..\..\Dashboard\Pages\FetchedJobsPage.cshtml"
}
diff --git a/src/Hangfire.Core/Dashboard/Pages/ProcessingJobsPage.cshtml b/src/Hangfire.Core/Dashboard/Pages/ProcessingJobsPage.cshtml
index e8c44dc82..03b59b2de 100644
--- a/src/Hangfire.Core/Dashboard/Pages/ProcessingJobsPage.cshtml
+++ b/src/Hangfire.Core/Dashboard/Pages/ProcessingJobsPage.cshtml
@@ -68,12 +68,16 @@
@if (!IsReadOnly)
{
-
+
}
@Strings.Common_Id
@Strings.Common_Server
@Strings.Common_Job
+ @if (DashboardOptions.DisplayArgumentsInLists)
+ {
+ @Strings.Arguments
+ }
@Strings.ProcessingJobsPage_Table_Started
@@ -99,7 +103,7 @@
@if (!job.Value.InProcessingState)
{
- @Strings.Common_JobStateChanged_Text
+ @Strings.Common_JobStateChanged_Text
}
else
{
@@ -114,6 +118,12 @@
@Html.JobNameLink(job.Key, job.Value.Job)
+ if (DashboardOptions.DisplayArgumentsInLists)
+ {
+
+ @Html.JobArguments(job.Value.Job)
+
+ }
@if (job.Value.StartedAt.HasValue)
{
diff --git a/src/Hangfire.Core/Dashboard/Pages/ProcessingJobsPage.cshtml.cs b/src/Hangfire.Core/Dashboard/Pages/ProcessingJobsPage.cshtml.cs
index 63b4f0f5d..bbdcf4e5e 100644
--- a/src/Hangfire.Core/Dashboard/Pages/ProcessingJobsPage.cshtml.cs
+++ b/src/Hangfire.Core/Dashboard/Pages/ProcessingJobsPage.cshtml.cs
@@ -1,11 +1,11 @@
#pragma warning disable 1591
//------------------------------------------------------------------------------
//
-// This code was generated by a tool.
-// Runtime Version:4.0.30319.42000
+// Ce code a été généré par un outil.
+// Version du runtime :4.0.30319.42000
//
-// Changes to this file may cause incorrect behavior and will be lost if
-// the code is regenerated.
+// Les modifications apportées à ce fichier peuvent provoquer un comportement incorrect et seront perdues si
+// le code est régénéré.
//
//------------------------------------------------------------------------------
@@ -282,8 +282,8 @@ public override void Execute()
#line default
#line hidden
WriteLiteral(" \r\n " +
-" \r\n " +
-" \r\n");
+" \r\n " +
+" \r\n");
@@ -323,11 +323,42 @@ public override void Execute()
#line default
#line hidden
-WriteLiteral("\r\n ");
+WriteLiteral(" \r\n");
#line 77 "..\..\Dashboard\Pages\ProcessingJobsPage.cshtml"
+ if (DashboardOptions.DisplayArgumentsInLists)
+ {
+
+
+ #line default
+ #line hidden
+WriteLiteral(" ");
+
+
+
+ #line 79 "..\..\Dashboard\Pages\ProcessingJobsPage.cshtml"
+ Write(Strings.Arguments);
+
+
+ #line default
+ #line hidden
+WriteLiteral(" \r\n");
+
+
+
+ #line 80 "..\..\Dashboard\Pages\ProcessingJobsPage.cshtml"
+ }
+
+
+ #line default
+ #line hidden
+WriteLiteral(" ");
+
+
+
+ #line 81 "..\..\Dashboard\Pages\ProcessingJobsPage.cshtml"
Write(Strings.ProcessingJobsPage_Table_Started);
@@ -338,7 +369,7 @@ public override void Execute()
- #line 81 "..\..\Dashboard\Pages\ProcessingJobsPage.cshtml"
+ #line 85 "..\..\Dashboard\Pages\ProcessingJobsPage.cshtml"
foreach (var job in processingJobs)
{
@@ -349,7 +380,7 @@ public override void Execute()
- #line 83 "..\..\Dashboard\Pages\ProcessingJobsPage.cshtml"
+ #line 87 "..\..\Dashboard\Pages\ProcessingJobsPage.cshtml"
Write(!job.Value.InProcessingState ? "obsolete-data" : null);
@@ -359,7 +390,7 @@ public override void Execute()
- #line 83 "..\..\Dashboard\Pages\ProcessingJobsPage.cshtml"
+ #line 87 "..\..\Dashboard\Pages\ProcessingJobsPage.cshtml"
Write(job.Value.InProcessingState ? "hover" : null);
@@ -369,7 +400,7 @@ public override void Execute()
- #line 84 "..\..\Dashboard\Pages\ProcessingJobsPage.cshtml"
+ #line 88 "..\..\Dashboard\Pages\ProcessingJobsPage.cshtml"
if (!IsReadOnly)
{
@@ -380,7 +411,7 @@ public override void Execute()
- #line 87 "..\..\Dashboard\Pages\ProcessingJobsPage.cshtml"
+ #line 91 "..\..\Dashboard\Pages\ProcessingJobsPage.cshtml"
if (job.Value.InProcessingState)
{
@@ -392,7 +423,7 @@ public override void Execute()
- #line 89 "..\..\Dashboard\Pages\ProcessingJobsPage.cshtml"
+ #line 93 "..\..\Dashboard\Pages\ProcessingJobsPage.cshtml"
Write(job.Key);
@@ -402,7 +433,7 @@ public override void Execute()
- #line 90 "..\..\Dashboard\Pages\ProcessingJobsPage.cshtml"
+ #line 94 "..\..\Dashboard\Pages\ProcessingJobsPage.cshtml"
}
@@ -412,7 +443,7 @@ public override void Execute()
- #line 92 "..\..\Dashboard\Pages\ProcessingJobsPage.cshtml"
+ #line 96 "..\..\Dashboard\Pages\ProcessingJobsPage.cshtml"
}
@@ -423,7 +454,7 @@ public override void Execute()
- #line 94 "..\..\Dashboard\Pages\ProcessingJobsPage.cshtml"
+ #line 98 "..\..\Dashboard\Pages\ProcessingJobsPage.cshtml"
Write(Html.JobIdLink(job.Key));
@@ -433,7 +464,7 @@ public override void Execute()
- #line 95 "..\..\Dashboard\Pages\ProcessingJobsPage.cshtml"
+ #line 99 "..\..\Dashboard\Pages\ProcessingJobsPage.cshtml"
if (!job.Value.InProcessingState)
{
@@ -444,7 +475,7 @@ public override void Execute()
- #line 97 "..\..\Dashboard\Pages\ProcessingJobsPage.cshtml"
+ #line 101 "..\..\Dashboard\Pages\ProcessingJobsPage.cshtml"
Write(Strings.Common_JobStateChanged_Text);
@@ -454,7 +485,7 @@ public override void Execute()
- #line 98 "..\..\Dashboard\Pages\ProcessingJobsPage.cshtml"
+ #line 102 "..\..\Dashboard\Pages\ProcessingJobsPage.cshtml"
}
@@ -464,19 +495,29 @@ public override void Execute()
- #line 100 "..\..\Dashboard\Pages\ProcessingJobsPage.cshtml"
+ #line 104 "..\..\Dashboard\Pages\ProcessingJobsPage.cshtml"
if (!job.Value.InProcessingState)
{
#line default
#line hidden
-WriteLiteral(" ");
+WriteLiteral(" ");
+
+
+
+ #line 106 "..\..\Dashboard\Pages\ProcessingJobsPage.cshtml"
+ Write(Strings.Common_JobStateChanged_Text);
#line default
@@ -485,7 +526,7 @@ public override void Execute()
- #line 103 "..\..\Dashboard\Pages\ProcessingJobsPage.cshtml"
+ #line 107 "..\..\Dashboard\Pages\ProcessingJobsPage.cshtml"
}
else
{
@@ -498,7 +539,7 @@ public override void Execute()
- #line 107 "..\..\Dashboard\Pages\ProcessingJobsPage.cshtml"
+ #line 111 "..\..\Dashboard\Pages\ProcessingJobsPage.cshtml"
Write(Html.ServerId(job.Value.ServerId));
@@ -512,7 +553,7 @@ public override void Execute()
- #line 110 "..\..\Dashboard\Pages\ProcessingJobsPage.cshtml"
+ #line 114 "..\..\Dashboard\Pages\ProcessingJobsPage.cshtml"
if (servers.All(x => x.Name != job.Value.ServerId || x.Heartbeat < DateTime.UtcNow.AddMinutes(-1)))
{
@@ -523,7 +564,7 @@ public override void Execute()
- #line 112 "..\..\Dashboard\Pages\ProcessingJobsPage.cshtml"
+ #line 116 "..\..\Dashboard\Pages\ProcessingJobsPage.cshtml"
Write(Strings.ProcessingJobsPage_Aborted);
@@ -533,7 +574,7 @@ public override void Execute()
- #line 113 "..\..\Dashboard\Pages\ProcessingJobsPage.cshtml"
+ #line 117 "..\..\Dashboard\Pages\ProcessingJobsPage.cshtml"
}
@@ -543,7 +584,7 @@ public override void Execute()
- #line 115 "..\..\Dashboard\Pages\ProcessingJobsPage.cshtml"
+ #line 119 "..\..\Dashboard\Pages\ProcessingJobsPage.cshtml"
Write(Html.JobNameLink(job.Key, job.Value.Job));
@@ -552,12 +593,40 @@ public override void Execute()
WriteLiteral("\r\n \r\n");
+
+ #line 121 "..\..\Dashboard\Pages\ProcessingJobsPage.cshtml"
+ if (DashboardOptions.DisplayArgumentsInLists)
+ {
+
+
+ #line default
+ #line hidden
+WriteLiteral(" \r\n" +
+" ");
+
+
+ #line 124 "..\..\Dashboard\Pages\ProcessingJobsPage.cshtml"
+ Write(Html.JobArguments(job.Value.Job));
+
+
+ #line default
+ #line hidden
+WriteLiteral("\r\n \r\n");
+
+
+
+ #line 126 "..\..\Dashboard\Pages\ProcessingJobsPage.cshtml"
+ }
+
+
+ #line default
+ #line hidden
WriteLiteral(" \r\n");
- #line 118 "..\..\Dashboard\Pages\ProcessingJobsPage.cshtml"
+ #line 128 "..\..\Dashboard\Pages\ProcessingJobsPage.cshtml"
if (job.Value.StartedAt.HasValue)
{
@@ -565,14 +634,14 @@ public override void Execute()
#line default
#line hidden
- #line 120 "..\..\Dashboard\Pages\ProcessingJobsPage.cshtml"
+ #line 130 "..\..\Dashboard\Pages\ProcessingJobsPage.cshtml"
Write(Html.RelativeTime(job.Value.StartedAt.Value));
#line default
#line hidden
- #line 120 "..\..\Dashboard\Pages\ProcessingJobsPage.cshtml"
+ #line 130 "..\..\Dashboard\Pages\ProcessingJobsPage.cshtml"
}
@@ -583,7 +652,7 @@ public override void Execute()
- #line 123 "..\..\Dashboard\Pages\ProcessingJobsPage.cshtml"
+ #line 133 "..\..\Dashboard\Pages\ProcessingJobsPage.cshtml"
}
@@ -593,7 +662,7 @@ public override void Execute()
- #line 125 "..\..\Dashboard\Pages\ProcessingJobsPage.cshtml"
+ #line 135 "..\..\Dashboard\Pages\ProcessingJobsPage.cshtml"
}
@@ -604,7 +673,7 @@ public override void Execute()
- #line 130 "..\..\Dashboard\Pages\ProcessingJobsPage.cshtml"
+ #line 140 "..\..\Dashboard\Pages\ProcessingJobsPage.cshtml"
Write(Html.Paginator(pager));
@@ -614,7 +683,7 @@ public override void Execute()
- #line 132 "..\..\Dashboard\Pages\ProcessingJobsPage.cshtml"
+ #line 142 "..\..\Dashboard\Pages\ProcessingJobsPage.cshtml"
}
diff --git a/src/Hangfire.Core/Dashboard/Pages/QueuesPage.cshtml b/src/Hangfire.Core/Dashboard/Pages/QueuesPage.cshtml
index fc3c289d2..954666432 100644
--- a/src/Hangfire.Core/Dashboard/Pages/QueuesPage.cshtml
+++ b/src/Hangfire.Core/Dashboard/Pages/QueuesPage.cshtml
@@ -69,6 +69,10 @@
@Strings.Common_Id
@Strings.Common_State
@Strings.Common_Job
+ @if (DashboardOptions.DisplayArgumentsInLists)
+ {
+ @Strings.Arguments
+ }
@Strings.Common_Enqueued
@@ -85,7 +89,7 @@
@if (job.Value == null)
{
- @Strings.Common_JobExpired
+ @Strings.Common_JobExpired
}
else
{
@@ -95,6 +99,12 @@
@Html.JobNameLink(job.Key, job.Value.Job)
+ if (DashboardOptions.DisplayArgumentsInLists)
+ {
+
+ @Html.JobArguments(job.Value.Job)
+
+ }
@if (job.Value.EnqueuedAt.HasValue)
{
diff --git a/src/Hangfire.Core/Dashboard/Pages/QueuesPage.cshtml.cs b/src/Hangfire.Core/Dashboard/Pages/QueuesPage.cshtml.cs
index 9c335f591..b7b307c2e 100644
--- a/src/Hangfire.Core/Dashboard/Pages/QueuesPage.cshtml.cs
+++ b/src/Hangfire.Core/Dashboard/Pages/QueuesPage.cshtml.cs
@@ -1,11 +1,11 @@
#pragma warning disable 1591
//------------------------------------------------------------------------------
//
-// This code was generated by a tool.
-// Runtime Version:4.0.30319.42000
+// Ce code a été généré par un outil.
+// Version du runtime :4.0.30319.42000
//
-// Changes to this file may cause incorrect behavior and will be lost if
-// the code is regenerated.
+// Les modifications apportées à ce fichier peuvent provoquer un comportement incorrect et seront perdues si
+// le code est régénéré.
//
//------------------------------------------------------------------------------
@@ -326,12 +326,43 @@ public override void Execute()
#line default
#line hidden
-WriteLiteral("\r\n ");
+WriteLiteral(" \r\n");
#line 72 "..\..\Dashboard\Pages\QueuesPage.cshtml"
+ if (DashboardOptions.DisplayArgumentsInLists)
+ {
+
+
+ #line default
+ #line hidden
+WriteLiteral(" ");
+
+
+
+ #line 74 "..\..\Dashboard\Pages\QueuesPage.cshtml"
+ Write(Strings.Arguments);
+
+
+ #line default
+ #line hidden
+WriteLiteral(" \r\n");
+
+
+
+ #line 75 "..\..\Dashboard\Pages\QueuesPage.cshtml"
+ }
+
+
+ #line default
+ #line hidden
+WriteLiteral(" ");
+
+
+
+ #line 76 "..\..\Dashboard\Pages\QueuesPage.cshtml"
Write(Strings.Common_Enqueued);
@@ -343,7 +374,7 @@ public override void Execute()
- #line 76 "..\..\Dashboard\Pages\QueuesPage.cshtml"
+ #line 80 "..\..\Dashboard\Pages\QueuesPage.cshtml"
foreach (var job in queue.FirstJobs)
{
@@ -354,7 +385,7 @@ public override void Execute()
- #line 78 "..\..\Dashboard\Pages\QueuesPage.cshtml"
+ #line 82 "..\..\Dashboard\Pages\QueuesPage.cshtml"
Write(job.Value == null || !job.Value.InEnqueuedState ? "obsolete-data" : null);
@@ -365,7 +396,7 @@ public override void Execute()
- #line 80 "..\..\Dashboard\Pages\QueuesPage.cshtml"
+ #line 84 "..\..\Dashboard\Pages\QueuesPage.cshtml"
Write(Html.JobIdLink(job.Key));
@@ -375,7 +406,7 @@ public override void Execute()
- #line 81 "..\..\Dashboard\Pages\QueuesPage.cshtml"
+ #line 85 "..\..\Dashboard\Pages\QueuesPage.cshtml"
if (job.Value != null && !job.Value.InEnqueuedState)
{
@@ -386,7 +417,7 @@ public override void Execute()
- #line 83 "..\..\Dashboard\Pages\QueuesPage.cshtml"
+ #line 87 "..\..\Dashboard\Pages\QueuesPage.cshtml"
Write(Strings.Common_JobStateChanged_Text);
@@ -396,7 +427,7 @@ public override void Execute()
- #line 84 "..\..\Dashboard\Pages\QueuesPage.cshtml"
+ #line 88 "..\..\Dashboard\Pages\QueuesPage.cshtml"
}
@@ -406,19 +437,29 @@ public override void Execute()
- #line 86 "..\..\Dashboard\Pages\QueuesPage.cshtml"
+ #line 90 "..\..\Dashboard\Pages\QueuesPage.cshtml"
if (job.Value == null)
{
#line default
#line hidden
-WriteLiteral(" ");
+WriteLiteral(" ");
+
+
+
+ #line 92 "..\..\Dashboard\Pages\QueuesPage.cshtml"
+ Write(Strings.Common_JobExpired);
#line default
@@ -427,7 +468,7 @@ public override void Execute()
- #line 89 "..\..\Dashboard\Pages\QueuesPage.cshtml"
+ #line 93 "..\..\Dashboard\Pages\QueuesPage.cshtml"
}
else
{
@@ -440,7 +481,7 @@ public override void Execute()
- #line 93 "..\..\Dashboard\Pages\QueuesPage.cshtml"
+ #line 97 "..\..\Dashboard\Pages\QueuesPage.cshtml"
Write(Html.StateLabel(job.Value.State));
@@ -455,7 +496,7 @@ public override void Execute()
- #line 96 "..\..\Dashboard\Pages\QueuesPage.cshtml"
+ #line 100 "..\..\Dashboard\Pages\QueuesPage.cshtml"
Write(Html.JobNameLink(job.Key, job.Value.Job));
@@ -464,13 +505,42 @@ public override void Execute()
WriteLiteral("\r\n \r\n");
+
+ #line 102 "..\..\Dashboard\Pages\QueuesPage.cshtml"
+ if (DashboardOptions.DisplayArgumentsInLists)
+ {
+
+
+ #line default
+ #line hidden
+WriteLiteral(" \r\n " +
+" ");
+
+
+
+ #line 105 "..\..\Dashboard\Pages\QueuesPage.cshtml"
+ Write(Html.JobArguments(job.Value.Job));
+
+
+ #line default
+ #line hidden
+WriteLiteral("\r\n \r\n");
+
+
+
+ #line 107 "..\..\Dashboard\Pages\QueuesPage.cshtml"
+ }
+
+ #line default
+ #line hidden
WriteLiteral(" \r\n");
- #line 99 "..\..\Dashboard\Pages\QueuesPage.cshtml"
+ #line 109 "..\..\Dashboard\Pages\QueuesPage.cshtml"
if (job.Value.EnqueuedAt.HasValue)
{
@@ -478,14 +548,14 @@ public override void Execute()
#line default
#line hidden
- #line 101 "..\..\Dashboard\Pages\QueuesPage.cshtml"
+ #line 111 "..\..\Dashboard\Pages\QueuesPage.cshtml"
Write(Html.RelativeTime(job.Value.EnqueuedAt.Value));
#line default
#line hidden
- #line 101 "..\..\Dashboard\Pages\QueuesPage.cshtml"
+ #line 111 "..\..\Dashboard\Pages\QueuesPage.cshtml"
}
else
@@ -498,7 +568,7 @@ public override void Execute()
- #line 105 "..\..\Dashboard\Pages\QueuesPage.cshtml"
+ #line 115 "..\..\Dashboard\Pages\QueuesPage.cshtml"
Write(Strings.Common_NotAvailable);
@@ -508,7 +578,7 @@ public override void Execute()
- #line 106 "..\..\Dashboard\Pages\QueuesPage.cshtml"
+ #line 116 "..\..\Dashboard\Pages\QueuesPage.cshtml"
}
@@ -518,7 +588,7 @@ public override void Execute()
- #line 108 "..\..\Dashboard\Pages\QueuesPage.cshtml"
+ #line 118 "..\..\Dashboard\Pages\QueuesPage.cshtml"
}
@@ -528,7 +598,7 @@ public override void Execute()
- #line 110 "..\..\Dashboard\Pages\QueuesPage.cshtml"
+ #line 120 "..\..\Dashboard\Pages\QueuesPage.cshtml"
}
@@ -539,7 +609,7 @@ public override void Execute()
- #line 113 "..\..\Dashboard\Pages\QueuesPage.cshtml"
+ #line 123 "..\..\Dashboard\Pages\QueuesPage.cshtml"
}
@@ -549,7 +619,7 @@ public override void Execute()
- #line 116 "..\..\Dashboard\Pages\QueuesPage.cshtml"
+ #line 126 "..\..\Dashboard\Pages\QueuesPage.cshtml"
}
@@ -559,7 +629,7 @@ public override void Execute()
- #line 120 "..\..\Dashboard\Pages\QueuesPage.cshtml"
+ #line 130 "..\..\Dashboard\Pages\QueuesPage.cshtml"
}
diff --git a/src/Hangfire.Core/Dashboard/Pages/RecurringJobsPage.cshtml b/src/Hangfire.Core/Dashboard/Pages/RecurringJobsPage.cshtml
index 9926414ba..16f4d9019 100644
--- a/src/Hangfire.Core/Dashboard/Pages/RecurringJobsPage.cshtml
+++ b/src/Hangfire.Core/Dashboard/Pages/RecurringJobsPage.cshtml
@@ -81,13 +81,17 @@
@if (!IsReadOnly)
{
-
+
}
@Strings.Common_Id
@Strings.RecurringJobsPage_Table_Cron
@Strings.RecurringJobsPage_Table_TimeZone
@Strings.Common_Job
+ @if (DashboardOptions.DisplayArgumentsInLists)
+ {
+ @Strings.Arguments
+ }
@Strings.RecurringJobsPage_Table_NextExecution
@Strings.RecurringJobsPage_Table_LastExecution
@Strings.Common_Created
@@ -199,6 +203,23 @@
@Strings.Common_NotAvailable
}
+ @if (DashboardOptions.DisplayArgumentsInLists)
+ {
+
+ @if (job.Job != null)
+ {
+ @: @Html.JobArguments(job.Job)
+ }
+ else if (job.LoadException != null)
+ {
+ @job.LoadException.Message
+ }
+ else
+ {
+ @Strings.Common_NotAvailable
+ }
+
+ }
@if (!job.NextExecution.HasValue)
{
diff --git a/src/Hangfire.Core/Dashboard/Pages/RecurringJobsPage.cshtml.cs b/src/Hangfire.Core/Dashboard/Pages/RecurringJobsPage.cshtml.cs
index 8476a4229..3ed088fc6 100644
--- a/src/Hangfire.Core/Dashboard/Pages/RecurringJobsPage.cshtml.cs
+++ b/src/Hangfire.Core/Dashboard/Pages/RecurringJobsPage.cshtml.cs
@@ -1,11 +1,11 @@
#pragma warning disable 1591
//------------------------------------------------------------------------------
//
-// This code was generated by a tool.
-// Runtime Version:4.0.30319.42000
+// Ce code a été généré par un outil.
+// Version du runtime :4.0.30319.42000
//
-// Changes to this file may cause incorrect behavior and will be lost if
-// the code is regenerated.
+// Les modifications apportées à ce fichier peuvent provoquer un comportement incorrect et seront perdues si
+// le code est régénéré.
//
//------------------------------------------------------------------------------
@@ -320,8 +320,8 @@ public override void Execute()
#line default
#line hidden
WriteLiteral(" \r\n " +
-" \r\n " +
-" \r\n");
+" \r\n " +
+" \r\n");
@@ -371,11 +371,42 @@ public override void Execute()
#line default
#line hidden
-WriteLiteral("\r\n ");
+WriteLiteral(" \r\n");
#line 91 "..\..\Dashboard\Pages\RecurringJobsPage.cshtml"
+ if (DashboardOptions.DisplayArgumentsInLists)
+ {
+
+
+ #line default
+ #line hidden
+WriteLiteral(" ");
+
+
+
+ #line 93 "..\..\Dashboard\Pages\RecurringJobsPage.cshtml"
+ Write(Strings.Arguments);
+
+
+ #line default
+ #line hidden
+WriteLiteral(" \r\n");
+
+
+
+ #line 94 "..\..\Dashboard\Pages\RecurringJobsPage.cshtml"
+ }
+
+
+ #line default
+ #line hidden
+WriteLiteral(" ");
+
+
+
+ #line 95 "..\..\Dashboard\Pages\RecurringJobsPage.cshtml"
Write(Strings.RecurringJobsPage_Table_NextExecution);
@@ -385,7 +416,7 @@ public override void Execute()
- #line 92 "..\..\Dashboard\Pages\RecurringJobsPage.cshtml"
+ #line 96 "..\..\Dashboard\Pages\RecurringJobsPage.cshtml"
Write(Strings.RecurringJobsPage_Table_LastExecution);
@@ -395,7 +426,7 @@ public override void Execute()
- #line 93 "..\..\Dashboard\Pages\RecurringJobsPage.cshtml"
+ #line 97 "..\..\Dashboard\Pages\RecurringJobsPage.cshtml"
Write(Strings.Common_Created);
@@ -406,7 +437,7 @@ public override void Execute()
- #line 97 "..\..\Dashboard\Pages\RecurringJobsPage.cshtml"
+ #line 101 "..\..\Dashboard\Pages\RecurringJobsPage.cshtml"
foreach (var job in recurringJobs)
{
@@ -417,7 +448,7 @@ public override void Execute()
- #line 100 "..\..\Dashboard\Pages\RecurringJobsPage.cshtml"
+ #line 104 "..\..\Dashboard\Pages\RecurringJobsPage.cshtml"
if (!IsReadOnly)
{
@@ -428,7 +459,7 @@ public override void Execute()
- #line 102 "..\..\Dashboard\Pages\RecurringJobsPage.cshtml"
+ #line 106 "..\..\Dashboard\Pages\RecurringJobsPage.cshtml"
Write(job.Error != null ? "2" : "1");
@@ -439,7 +470,7 @@ public override void Execute()
- #line 103 "..\..\Dashboard\Pages\RecurringJobsPage.cshtml"
+ #line 107 "..\..\Dashboard\Pages\RecurringJobsPage.cshtml"
Write(job.Id);
@@ -449,7 +480,7 @@ public override void Execute()
- #line 105 "..\..\Dashboard\Pages\RecurringJobsPage.cshtml"
+ #line 109 "..\..\Dashboard\Pages\RecurringJobsPage.cshtml"
}
@@ -459,7 +490,7 @@ public override void Execute()
- #line 106 "..\..\Dashboard\Pages\RecurringJobsPage.cshtml"
+ #line 110 "..\..\Dashboard\Pages\RecurringJobsPage.cshtml"
Write(job.Id);
@@ -474,7 +505,7 @@ public override void Execute()
- #line 109 "..\..\Dashboard\Pages\RecurringJobsPage.cshtml"
+ #line 113 "..\..\Dashboard\Pages\RecurringJobsPage.cshtml"
string cronDescription = null;
bool cronError = false;
@@ -513,7 +544,7 @@ public override void Execute()
- #line 140 "..\..\Dashboard\Pages\RecurringJobsPage.cshtml"
+ #line 144 "..\..\Dashboard\Pages\RecurringJobsPage.cshtml"
if (cronDescription != null)
{
@@ -524,7 +555,7 @@ public override void Execute()
- #line 142 "..\..\Dashboard\Pages\RecurringJobsPage.cshtml"
+ #line 146 "..\..\Dashboard\Pages\RecurringJobsPage.cshtml"
Write(cronDescription);
@@ -534,7 +565,7 @@ public override void Execute()
- #line 143 "..\..\Dashboard\Pages\RecurringJobsPage.cshtml"
+ #line 147 "..\..\Dashboard\Pages\RecurringJobsPage.cshtml"
if (cronError)
{
@@ -546,7 +577,7 @@ public override void Execute()
- #line 146 "..\..\Dashboard\Pages\RecurringJobsPage.cshtml"
+ #line 150 "..\..\Dashboard\Pages\RecurringJobsPage.cshtml"
}
@@ -556,7 +587,7 @@ public override void Execute()
- #line 147 "..\..\Dashboard\Pages\RecurringJobsPage.cshtml"
+ #line 151 "..\..\Dashboard\Pages\RecurringJobsPage.cshtml"
Write(job.Cron);
@@ -566,7 +597,7 @@ public override void Execute()
- #line 149 "..\..\Dashboard\Pages\RecurringJobsPage.cshtml"
+ #line 153 "..\..\Dashboard\Pages\RecurringJobsPage.cshtml"
}
else
{
@@ -578,7 +609,7 @@ public override void Execute()
- #line 152 "..\..\Dashboard\Pages\RecurringJobsPage.cshtml"
+ #line 156 "..\..\Dashboard\Pages\RecurringJobsPage.cshtml"
Write(job.Cron);
@@ -588,7 +619,7 @@ public override void Execute()
- #line 153 "..\..\Dashboard\Pages\RecurringJobsPage.cshtml"
+ #line 157 "..\..\Dashboard\Pages\RecurringJobsPage.cshtml"
}
@@ -599,7 +630,7 @@ public override void Execute()
- #line 156 "..\..\Dashboard\Pages\RecurringJobsPage.cshtml"
+ #line 160 "..\..\Dashboard\Pages\RecurringJobsPage.cshtml"
if (!String.IsNullOrWhiteSpace(job.TimeZoneId))
{
string displayName;
@@ -624,7 +655,7 @@ public override void Execute()
- #line 172 "..\..\Dashboard\Pages\RecurringJobsPage.cshtml"
+ #line 176 "..\..\Dashboard\Pages\RecurringJobsPage.cshtml"
Write(displayName);
@@ -634,7 +665,7 @@ public override void Execute()
- #line 172 "..\..\Dashboard\Pages\RecurringJobsPage.cshtml"
+ #line 176 "..\..\Dashboard\Pages\RecurringJobsPage.cshtml"
Write(job.TimeZoneId);
@@ -644,7 +675,7 @@ public override void Execute()
- #line 173 "..\..\Dashboard\Pages\RecurringJobsPage.cshtml"
+ #line 177 "..\..\Dashboard\Pages\RecurringJobsPage.cshtml"
if (exception != null)
{
@@ -656,7 +687,7 @@ public override void Execute()
- #line 175 "..\..\Dashboard\Pages\RecurringJobsPage.cshtml"
+ #line 179 "..\..\Dashboard\Pages\RecurringJobsPage.cshtml"
Write(exception.Message);
@@ -666,7 +697,7 @@ public override void Execute()
- #line 176 "..\..\Dashboard\Pages\RecurringJobsPage.cshtml"
+ #line 180 "..\..\Dashboard\Pages\RecurringJobsPage.cshtml"
}
@@ -676,7 +707,7 @@ public override void Execute()
- #line 178 "..\..\Dashboard\Pages\RecurringJobsPage.cshtml"
+ #line 182 "..\..\Dashboard\Pages\RecurringJobsPage.cshtml"
}
else
{
@@ -690,7 +721,7 @@ public override void Execute()
- #line 182 "..\..\Dashboard\Pages\RecurringJobsPage.cshtml"
+ #line 186 "..\..\Dashboard\Pages\RecurringJobsPage.cshtml"
}
@@ -701,7 +732,7 @@ public override void Execute()
- #line 185 "..\..\Dashboard\Pages\RecurringJobsPage.cshtml"
+ #line 189 "..\..\Dashboard\Pages\RecurringJobsPage.cshtml"
if (job.Job != null)
{
@@ -714,7 +745,7 @@ public override void Execute()
- #line 187 "..\..\Dashboard\Pages\RecurringJobsPage.cshtml"
+ #line 191 "..\..\Dashboard\Pages\RecurringJobsPage.cshtml"
Write(Html.JobName(job.Job));
@@ -724,7 +755,7 @@ public override void Execute()
- #line 188 "..\..\Dashboard\Pages\RecurringJobsPage.cshtml"
+ #line 192 "..\..\Dashboard\Pages\RecurringJobsPage.cshtml"
}
else if (job.LoadException != null && job.LoadException.InnerException != null)
{
@@ -736,7 +767,7 @@ public override void Execute()
- #line 191 "..\..\Dashboard\Pages\RecurringJobsPage.cshtml"
+ #line 195 "..\..\Dashboard\Pages\RecurringJobsPage.cshtml"
Write(job.LoadException.InnerException.Message);
@@ -746,7 +777,7 @@ public override void Execute()
- #line 192 "..\..\Dashboard\Pages\RecurringJobsPage.cshtml"
+ #line 196 "..\..\Dashboard\Pages\RecurringJobsPage.cshtml"
}
else if (job.LoadException != null)
{
@@ -758,7 +789,7 @@ public override void Execute()
- #line 195 "..\..\Dashboard\Pages\RecurringJobsPage.cshtml"
+ #line 199 "..\..\Dashboard\Pages\RecurringJobsPage.cshtml"
Write(job.LoadException.Message);
@@ -768,7 +799,7 @@ public override void Execute()
- #line 196 "..\..\Dashboard\Pages\RecurringJobsPage.cshtml"
+ #line 200 "..\..\Dashboard\Pages\RecurringJobsPage.cshtml"
}
else
{
@@ -780,7 +811,7 @@ public override void Execute()
- #line 199 "..\..\Dashboard\Pages\RecurringJobsPage.cshtml"
+ #line 203 "..\..\Dashboard\Pages\RecurringJobsPage.cshtml"
Write(Strings.Common_NotAvailable);
@@ -790,18 +821,93 @@ public override void Execute()
- #line 200 "..\..\Dashboard\Pages\RecurringJobsPage.cshtml"
+ #line 204 "..\..\Dashboard\Pages\RecurringJobsPage.cshtml"
}
#line default
#line hidden
-WriteLiteral(" \r\n \r\n");
+WriteLiteral(" \r\n");
- #line 203 "..\..\Dashboard\Pages\RecurringJobsPage.cshtml"
+ #line 206 "..\..\Dashboard\Pages\RecurringJobsPage.cshtml"
+ if (DashboardOptions.DisplayArgumentsInLists)
+ {
+
+
+ #line default
+ #line hidden
+WriteLiteral(" \r\n");
+
+
+
+ #line 209 "..\..\Dashboard\Pages\RecurringJobsPage.cshtml"
+ if (job.Job != null)
+ {
+
+
+ #line default
+ #line hidden
+WriteLiteral(" ");
+
+WriteLiteral(" ");
+
+
+
+ #line 211 "..\..\Dashboard\Pages\RecurringJobsPage.cshtml"
+ Write(Html.JobArguments(job.Job));
+
+
+ #line default
+ #line hidden
+WriteLiteral("\r\n");
+
+
+
+ #line 212 "..\..\Dashboard\Pages\RecurringJobsPage.cshtml"
+ }
+ else if (job.LoadException != null && job.LoadException.InnerException != null)
+ {
+
+
+ #line default
+ #line hidden
+WriteLiteral(" ");
+
+
+
+ #line 215 "..\..\Dashboard\Pages\RecurringJobsPage.cshtml"
+ Write(job.LoadException.InnerException.Message);
+
+
+ #line default
+ #line hidden
+WriteLiteral(" \r\n");
+
+
+
+ #line 216 "..\..\Dashboard\Pages\RecurringJobsPage.cshtml"
+ }
+
+
+ #line default
+ #line hidden
+WriteLiteral(" \r\n");
+
+
+
+ #line 218 "..\..\Dashboard\Pages\RecurringJobsPage.cshtml"
+ }
+
+
+ #line default
+ #line hidden
+WriteLiteral(" \r\n");
+
+
+
+ #line 220 "..\..\Dashboard\Pages\RecurringJobsPage.cshtml"
if (!job.NextExecution.HasValue)
{
if (job.Error != null)
@@ -815,7 +921,7 @@ public override void Execute()
- #line 207 "..\..\Dashboard\Pages\RecurringJobsPage.cshtml"
+ #line 224 "..\..\Dashboard\Pages\RecurringJobsPage.cshtml"
Write(Strings.Common_Error);
@@ -825,7 +931,7 @@ public override void Execute()
- #line 208 "..\..\Dashboard\Pages\RecurringJobsPage.cshtml"
+ #line 225 "..\..\Dashboard\Pages\RecurringJobsPage.cshtml"
}
else
{
@@ -838,7 +944,7 @@ public override void Execute()
- #line 211 "..\..\Dashboard\Pages\RecurringJobsPage.cshtml"
+ #line 228 "..\..\Dashboard\Pages\RecurringJobsPage.cshtml"
Write(Strings.RecurringJobsPage_RecurringJobDisabled_Tooltip);
@@ -848,7 +954,7 @@ public override void Execute()
- #line 211 "..\..\Dashboard\Pages\RecurringJobsPage.cshtml"
+ #line 228 "..\..\Dashboard\Pages\RecurringJobsPage.cshtml"
Write(Strings.Common_Disabled);
@@ -858,7 +964,7 @@ public override void Execute()
- #line 212 "..\..\Dashboard\Pages\RecurringJobsPage.cshtml"
+ #line 229 "..\..\Dashboard\Pages\RecurringJobsPage.cshtml"
}
}
@@ -872,7 +978,7 @@ public override void Execute()
- #line 217 "..\..\Dashboard\Pages\RecurringJobsPage.cshtml"
+ #line 234 "..\..\Dashboard\Pages\RecurringJobsPage.cshtml"
Write(Html.RelativeTime(job.NextExecution.Value));
@@ -882,7 +988,7 @@ public override void Execute()
- #line 218 "..\..\Dashboard\Pages\RecurringJobsPage.cshtml"
+ #line 235 "..\..\Dashboard\Pages\RecurringJobsPage.cshtml"
}
else
{
@@ -891,14 +997,14 @@ public override void Execute()
#line default
#line hidden
- #line 221 "..\..\Dashboard\Pages\RecurringJobsPage.cshtml"
+ #line 238 "..\..\Dashboard\Pages\RecurringJobsPage.cshtml"
Write(Html.RelativeTime(job.NextExecution.Value));
#line default
#line hidden
- #line 221 "..\..\Dashboard\Pages\RecurringJobsPage.cshtml"
+ #line 238 "..\..\Dashboard\Pages\RecurringJobsPage.cshtml"
}
@@ -910,7 +1016,7 @@ public override void Execute()
- #line 225 "..\..\Dashboard\Pages\RecurringJobsPage.cshtml"
+ #line 242 "..\..\Dashboard\Pages\RecurringJobsPage.cshtml"
if (job.LastExecution != null)
{
if (!String.IsNullOrEmpty(job.LastJobId))
@@ -923,7 +1029,7 @@ public override void Execute()
- #line 229 "..\..\Dashboard\Pages\RecurringJobsPage.cshtml"
+ #line 246 "..\..\Dashboard\Pages\RecurringJobsPage.cshtml"
Write(Url.JobDetails(job.LastJobId));
@@ -934,7 +1040,7 @@ public override void Execute()
- #line 230 "..\..\Dashboard\Pages\RecurringJobsPage.cshtml"
+ #line 247 "..\..\Dashboard\Pages\RecurringJobsPage.cshtml"
Write($"background-color: {JobHistoryRenderer.GetForegroundStateColor(job.LastJobState ?? EnqueuedState.StateName)};");
@@ -944,7 +1050,7 @@ public override void Execute()
- #line 231 "..\..\Dashboard\Pages\RecurringJobsPage.cshtml"
+ #line 248 "..\..\Dashboard\Pages\RecurringJobsPage.cshtml"
Write(Html.RelativeTime(job.LastExecution.Value));
@@ -955,7 +1061,7 @@ public override void Execute()
- #line 234 "..\..\Dashboard\Pages\RecurringJobsPage.cshtml"
+ #line 251 "..\..\Dashboard\Pages\RecurringJobsPage.cshtml"
}
else
{
@@ -968,7 +1074,7 @@ public override void Execute()
- #line 238 "..\..\Dashboard\Pages\RecurringJobsPage.cshtml"
+ #line 255 "..\..\Dashboard\Pages\RecurringJobsPage.cshtml"
Write(Strings.RecurringJobsPage_Canceled);
@@ -978,7 +1084,7 @@ public override void Execute()
- #line 238 "..\..\Dashboard\Pages\RecurringJobsPage.cshtml"
+ #line 255 "..\..\Dashboard\Pages\RecurringJobsPage.cshtml"
Write(Html.RelativeTime(job.LastExecution.Value));
@@ -988,7 +1094,7 @@ public override void Execute()
- #line 240 "..\..\Dashboard\Pages\RecurringJobsPage.cshtml"
+ #line 257 "..\..\Dashboard\Pages\RecurringJobsPage.cshtml"
}
}
else
@@ -1001,7 +1107,7 @@ public override void Execute()
- #line 244 "..\..\Dashboard\Pages\RecurringJobsPage.cshtml"
+ #line 261 "..\..\Dashboard\Pages\RecurringJobsPage.cshtml"
Write(Strings.Common_NotAvailable);
@@ -1011,7 +1117,7 @@ public override void Execute()
- #line 245 "..\..\Dashboard\Pages\RecurringJobsPage.cshtml"
+ #line 262 "..\..\Dashboard\Pages\RecurringJobsPage.cshtml"
}
@@ -1022,7 +1128,7 @@ public override void Execute()
- #line 248 "..\..\Dashboard\Pages\RecurringJobsPage.cshtml"
+ #line 265 "..\..\Dashboard\Pages\RecurringJobsPage.cshtml"
if (job.CreatedAt != null)
{
@@ -1030,14 +1136,14 @@ public override void Execute()
#line default
#line hidden
- #line 250 "..\..\Dashboard\Pages\RecurringJobsPage.cshtml"
+ #line 267 "..\..\Dashboard\Pages\RecurringJobsPage.cshtml"
Write(Html.RelativeTime(job.CreatedAt.Value));
#line default
#line hidden
- #line 250 "..\..\Dashboard\Pages\RecurringJobsPage.cshtml"
+ #line 267 "..\..\Dashboard\Pages\RecurringJobsPage.cshtml"
}
else
@@ -1050,7 +1156,7 @@ public override void Execute()
- #line 255 "..\..\Dashboard\Pages\RecurringJobsPage.cshtml"
+ #line 272 "..\..\Dashboard\Pages\RecurringJobsPage.cshtml"
}
@@ -1060,7 +1166,7 @@ public override void Execute()
- #line 257 "..\..\Dashboard\Pages\RecurringJobsPage.cshtml"
+ #line 274 "..\..\Dashboard\Pages\RecurringJobsPage.cshtml"
if (job.Error != null)
{
@@ -1072,7 +1178,7 @@ public override void Execute()
- #line 260 "..\..\Dashboard\Pages\RecurringJobsPage.cshtml"
+ #line 277 "..\..\Dashboard\Pages\RecurringJobsPage.cshtml"
Write(IsReadOnly ? "6" : "7");
@@ -1083,7 +1189,7 @@ public override void Execute()
- #line 261 "..\..\Dashboard\Pages\RecurringJobsPage.cshtml"
+ #line 278 "..\..\Dashboard\Pages\RecurringJobsPage.cshtml"
Write(Html.StackTrace(job.Error));
@@ -1094,7 +1200,7 @@ public override void Execute()
- #line 264 "..\..\Dashboard\Pages\RecurringJobsPage.cshtml"
+ #line 281 "..\..\Dashboard\Pages\RecurringJobsPage.cshtml"
}
@@ -1104,7 +1210,7 @@ public override void Execute()
- #line 266 "..\..\Dashboard\Pages\RecurringJobsPage.cshtml"
+ #line 283 "..\..\Dashboard\Pages\RecurringJobsPage.cshtml"
}
@@ -1115,7 +1221,7 @@ public override void Execute()
- #line 271 "..\..\Dashboard\Pages\RecurringJobsPage.cshtml"
+ #line 288 "..\..\Dashboard\Pages\RecurringJobsPage.cshtml"
if (pager != null)
{
@@ -1128,7 +1234,7 @@ public override void Execute()
- #line 273 "..\..\Dashboard\Pages\RecurringJobsPage.cshtml"
+ #line 290 "..\..\Dashboard\Pages\RecurringJobsPage.cshtml"
Write(Html.Paginator(pager));
@@ -1138,7 +1244,7 @@ public override void Execute()
- #line 274 "..\..\Dashboard\Pages\RecurringJobsPage.cshtml"
+ #line 291 "..\..\Dashboard\Pages\RecurringJobsPage.cshtml"
}
@@ -1148,7 +1254,7 @@ public override void Execute()
- #line 276 "..\..\Dashboard\Pages\RecurringJobsPage.cshtml"
+ #line 293 "..\..\Dashboard\Pages\RecurringJobsPage.cshtml"
}
diff --git a/src/Hangfire.Core/Dashboard/Pages/RetriesPage.cshtml b/src/Hangfire.Core/Dashboard/Pages/RetriesPage.cshtml
index c2958fd13..1d0590c2e 100644
--- a/src/Hangfire.Core/Dashboard/Pages/RetriesPage.cshtml
+++ b/src/Hangfire.Core/Dashboard/Pages/RetriesPage.cshtml
@@ -83,12 +83,16 @@ else
@if (!IsReadOnly)
{
-
+
}
@Strings.Common_Id
@Strings.Common_State
@Strings.Common_Job
+ @if (DashboardOptions.DisplayArgumentsInLists)
+ {
+ @Strings.Arguments
+ }
@Strings.Common_Reason
@Strings.Common_Retry
@Strings.Common_Created
@@ -118,7 +122,7 @@ else
@if (jobData == null)
{
- Job expired.
+ Job expired.
}
else
{
@@ -128,6 +132,12 @@ else
@Html.JobNameLink(jobId, jobData.Job)
+ if (DashboardOptions.DisplayArgumentsInLists)
+ {
+
+ @Html.JobArguments(jobData.Job)
+
+ }
@(stateData?.Reason)
diff --git a/src/Hangfire.Core/Dashboard/Pages/RetriesPage.cshtml.cs b/src/Hangfire.Core/Dashboard/Pages/RetriesPage.cshtml.cs
index ea80e691e..2b05a91ea 100644
--- a/src/Hangfire.Core/Dashboard/Pages/RetriesPage.cshtml.cs
+++ b/src/Hangfire.Core/Dashboard/Pages/RetriesPage.cshtml.cs
@@ -1,11 +1,11 @@
#pragma warning disable 1591
//------------------------------------------------------------------------------
//
-// This code was generated by a tool.
-// Runtime Version:4.0.30319.42000
+// Ce code a été généré par un outil.
+// Version du runtime :4.0.30319.42000
//
-// Changes to this file may cause incorrect behavior and will be lost if
-// the code is regenerated.
+// Les modifications apportées à ce fichier peuvent provoquer un comportement incorrect et seront perdues si
+// le code est régénéré.
//
//------------------------------------------------------------------------------
@@ -330,7 +330,7 @@ public override void Execute()
#line hidden
WriteLiteral(" \r\n " +
" \r\n \r\n");
+"\" />\r\n \r\n");
@@ -370,11 +370,42 @@ public override void Execute()
#line default
#line hidden
-WriteLiteral("\r\n ");
+WriteLiteral(" \r\n");
#line 92 "..\..\Dashboard\Pages\RetriesPage.cshtml"
+ if (DashboardOptions.DisplayArgumentsInLists)
+ {
+
+
+ #line default
+ #line hidden
+WriteLiteral(" ");
+
+
+
+ #line 94 "..\..\Dashboard\Pages\RetriesPage.cshtml"
+ Write(Strings.Arguments);
+
+
+ #line default
+ #line hidden
+WriteLiteral(" \r\n");
+
+
+
+ #line 95 "..\..\Dashboard\Pages\RetriesPage.cshtml"
+ }
+
+
+ #line default
+ #line hidden
+WriteLiteral(" ");
+
+
+
+ #line 96 "..\..\Dashboard\Pages\RetriesPage.cshtml"
Write(Strings.Common_Reason);
@@ -384,7 +415,7 @@ public override void Execute()
- #line 93 "..\..\Dashboard\Pages\RetriesPage.cshtml"
+ #line 97 "..\..\Dashboard\Pages\RetriesPage.cshtml"
Write(Strings.Common_Retry);
@@ -394,7 +425,7 @@ public override void Execute()
- #line 94 "..\..\Dashboard\Pages\RetriesPage.cshtml"
+ #line 98 "..\..\Dashboard\Pages\RetriesPage.cshtml"
Write(Strings.Common_Created);
@@ -405,7 +436,7 @@ public override void Execute()
- #line 98 "..\..\Dashboard\Pages\RetriesPage.cshtml"
+ #line 102 "..\..\Dashboard\Pages\RetriesPage.cshtml"
foreach (var jobId in jobIds)
{
JobData jobData;
@@ -425,7 +456,7 @@ public override void Execute()
- #line 109 "..\..\Dashboard\Pages\RetriesPage.cshtml"
+ #line 113 "..\..\Dashboard\Pages\RetriesPage.cshtml"
Write(jobData != null ? "hover" : null);
@@ -435,7 +466,7 @@ public override void Execute()
- #line 110 "..\..\Dashboard\Pages\RetriesPage.cshtml"
+ #line 114 "..\..\Dashboard\Pages\RetriesPage.cshtml"
if (!IsReadOnly)
{
@@ -448,7 +479,7 @@ public override void Execute()
- #line 113 "..\..\Dashboard\Pages\RetriesPage.cshtml"
+ #line 117 "..\..\Dashboard\Pages\RetriesPage.cshtml"
Write(jobId);
@@ -458,7 +489,7 @@ public override void Execute()
- #line 115 "..\..\Dashboard\Pages\RetriesPage.cshtml"
+ #line 119 "..\..\Dashboard\Pages\RetriesPage.cshtml"
}
@@ -469,7 +500,7 @@ public override void Execute()
- #line 117 "..\..\Dashboard\Pages\RetriesPage.cshtml"
+ #line 121 "..\..\Dashboard\Pages\RetriesPage.cshtml"
Write(Html.JobIdLink(jobId));
@@ -479,19 +510,28 @@ public override void Execute()
- #line 119 "..\..\Dashboard\Pages\RetriesPage.cshtml"
+ #line 123 "..\..\Dashboard\Pages\RetriesPage.cshtml"
if (jobData == null)
{
#line default
#line hidden
-WriteLiteral(" Job expired. " +
-" \r\n");
+WriteLiteral(" Job expired. \r\n");
+
+
+
+ #line 126 "..\..\Dashboard\Pages\RetriesPage.cshtml"
}
else
{
@@ -504,7 +544,7 @@ public override void Execute()
- #line 126 "..\..\Dashboard\Pages\RetriesPage.cshtml"
+ #line 130 "..\..\Dashboard\Pages\RetriesPage.cshtml"
Write(Html.StateLabel(jobData.State));
@@ -519,7 +559,7 @@ public override void Execute()
- #line 129 "..\..\Dashboard\Pages\RetriesPage.cshtml"
+ #line 133 "..\..\Dashboard\Pages\RetriesPage.cshtml"
Write(Html.JobNameLink(jobId, jobData.Job));
@@ -528,13 +568,41 @@ public override void Execute()
WriteLiteral("\r\n \r\n");
+
+ #line 135 "..\..\Dashboard\Pages\RetriesPage.cshtml"
+ if (DashboardOptions.DisplayArgumentsInLists)
+ {
+
+
+ #line default
+ #line hidden
+WriteLiteral(" \r\n ");
+
+
+ #line 138 "..\..\Dashboard\Pages\RetriesPage.cshtml"
+ Write(Html.JobArguments(jobData.Job));
+
+
+ #line default
+ #line hidden
+WriteLiteral("\r\n \r\n");
+
+
+
+ #line 140 "..\..\Dashboard\Pages\RetriesPage.cshtml"
+ }
+
+
+ #line default
+ #line hidden
WriteLiteral(" \r\n " +
" ");
- #line 132 "..\..\Dashboard\Pages\RetriesPage.cshtml"
+ #line 142 "..\..\Dashboard\Pages\RetriesPage.cshtml"
Write(stateData?.Reason);
@@ -548,7 +616,7 @@ public override void Execute()
- #line 135 "..\..\Dashboard\Pages\RetriesPage.cshtml"
+ #line 145 "..\..\Dashboard\Pages\RetriesPage.cshtml"
if (stateData != null && stateData.Data.ContainsKey("EnqueueAt"))
{
@@ -556,14 +624,14 @@ public override void Execute()
#line default
#line hidden
- #line 137 "..\..\Dashboard\Pages\RetriesPage.cshtml"
+ #line 147 "..\..\Dashboard\Pages\RetriesPage.cshtml"
Write(Html.RelativeTime(JobHelper.DeserializeDateTime(stateData.Data["EnqueueAt"])));
#line default
#line hidden
- #line 137 "..\..\Dashboard\Pages\RetriesPage.cshtml"
+ #line 147 "..\..\Dashboard\Pages\RetriesPage.cshtml"
}
@@ -579,7 +647,7 @@ public override void Execute()
- #line 141 "..\..\Dashboard\Pages\RetriesPage.cshtml"
+ #line 151 "..\..\Dashboard\Pages\RetriesPage.cshtml"
Write(Html.RelativeTime(jobData.CreatedAt));
@@ -589,7 +657,7 @@ public override void Execute()
- #line 143 "..\..\Dashboard\Pages\RetriesPage.cshtml"
+ #line 153 "..\..\Dashboard\Pages\RetriesPage.cshtml"
}
@@ -599,7 +667,7 @@ public override void Execute()
- #line 145 "..\..\Dashboard\Pages\RetriesPage.cshtml"
+ #line 155 "..\..\Dashboard\Pages\RetriesPage.cshtml"
}
@@ -610,7 +678,7 @@ public override void Execute()
- #line 150 "..\..\Dashboard\Pages\RetriesPage.cshtml"
+ #line 160 "..\..\Dashboard\Pages\RetriesPage.cshtml"
Write(Html.Paginator(pager));
@@ -620,7 +688,7 @@ public override void Execute()
- #line 152 "..\..\Dashboard\Pages\RetriesPage.cshtml"
+ #line 162 "..\..\Dashboard\Pages\RetriesPage.cshtml"
}
@@ -630,7 +698,7 @@ public override void Execute()
- #line 155 "..\..\Dashboard\Pages\RetriesPage.cshtml"
+ #line 165 "..\..\Dashboard\Pages\RetriesPage.cshtml"
}
#line default
diff --git a/src/Hangfire.Core/Dashboard/Pages/ScheduledJobsPage.cshtml b/src/Hangfire.Core/Dashboard/Pages/ScheduledJobsPage.cshtml
index d18b0effe..837ca9bbd 100644
--- a/src/Hangfire.Core/Dashboard/Pages/ScheduledJobsPage.cshtml
+++ b/src/Hangfire.Core/Dashboard/Pages/ScheduledJobsPage.cshtml
@@ -65,12 +65,16 @@
@if (!IsReadOnly)
{
-
+
}
@Strings.Common_Id
@Strings.ScheduledJobsPage_Table_Enqueue
@Strings.Common_Job
+ @if (DashboardOptions.DisplayArgumentsInLists)
+ {
+ @Strings.Arguments
+ }
@Strings.ScheduledJobsPage_Table_Scheduled
@@ -99,6 +103,12 @@
@Html.JobNameLink(job.Key, job.Value.Job)
+ @if (DashboardOptions.DisplayArgumentsInLists)
+ {
+
+ @Html.JobArguments(job.Value.Job)
+
+ }
@if (job.Value.ScheduledAt.HasValue)
{
diff --git a/src/Hangfire.Core/Dashboard/Pages/ScheduledJobsPage.cshtml.cs b/src/Hangfire.Core/Dashboard/Pages/ScheduledJobsPage.cshtml.cs
index 178749219..86b9a6bd2 100644
--- a/src/Hangfire.Core/Dashboard/Pages/ScheduledJobsPage.cshtml.cs
+++ b/src/Hangfire.Core/Dashboard/Pages/ScheduledJobsPage.cshtml.cs
@@ -1,11 +1,11 @@
#pragma warning disable 1591
//------------------------------------------------------------------------------
//
-// This code was generated by a tool.
-// Runtime Version:4.0.30319.42000
+// Ce code a été généré par un outil.
+// Version du runtime :4.0.30319.42000
//
-// Changes to this file may cause incorrect behavior and will be lost if
-// the code is regenerated.
+// Les modifications apportées à ce fichier peuvent provoquer un comportement incorrect et seront perdues si
+// le code est régénéré.
//
//------------------------------------------------------------------------------
@@ -269,8 +269,8 @@ public override void Execute()
#line default
#line hidden
WriteLiteral(" \r\n " +
-" \r\n " +
-" \r\n");
+" \r\n " +
+" \r\n");
@@ -310,11 +310,42 @@ public override void Execute()
#line default
#line hidden
-WriteLiteral("\r\n ");
+WriteLiteral(" \r\n");
#line 74 "..\..\Dashboard\Pages\ScheduledJobsPage.cshtml"
+ if (DashboardOptions.DisplayArgumentsInLists)
+ {
+
+
+ #line default
+ #line hidden
+WriteLiteral(" ");
+
+
+
+ #line 76 "..\..\Dashboard\Pages\ScheduledJobsPage.cshtml"
+ Write(Strings.Arguments);
+
+
+ #line default
+ #line hidden
+WriteLiteral(" \r\n");
+
+
+
+ #line 77 "..\..\Dashboard\Pages\ScheduledJobsPage.cshtml"
+ }
+
+
+ #line default
+ #line hidden
+WriteLiteral(" ");
+
+
+
+ #line 78 "..\..\Dashboard\Pages\ScheduledJobsPage.cshtml"
Write(Strings.ScheduledJobsPage_Table_Scheduled);
@@ -324,7 +355,7 @@ public override void Execute()
- #line 77 "..\..\Dashboard\Pages\ScheduledJobsPage.cshtml"
+ #line 81 "..\..\Dashboard\Pages\ScheduledJobsPage.cshtml"
foreach (var job in scheduledJobs)
{
@@ -335,7 +366,7 @@ public override void Execute()
- #line 79 "..\..\Dashboard\Pages\ScheduledJobsPage.cshtml"
+ #line 83 "..\..\Dashboard\Pages\ScheduledJobsPage.cshtml"
Write(!job.Value.InScheduledState ? "obsolete-data" : null);
@@ -345,7 +376,7 @@ public override void Execute()
- #line 79 "..\..\Dashboard\Pages\ScheduledJobsPage.cshtml"
+ #line 83 "..\..\Dashboard\Pages\ScheduledJobsPage.cshtml"
Write(job.Value.InScheduledState ? "hover" : null);
@@ -355,7 +386,7 @@ public override void Execute()
- #line 80 "..\..\Dashboard\Pages\ScheduledJobsPage.cshtml"
+ #line 84 "..\..\Dashboard\Pages\ScheduledJobsPage.cshtml"
if (!IsReadOnly)
{
@@ -366,7 +397,7 @@ public override void Execute()
- #line 83 "..\..\Dashboard\Pages\ScheduledJobsPage.cshtml"
+ #line 87 "..\..\Dashboard\Pages\ScheduledJobsPage.cshtml"
if (job.Value.InScheduledState)
{
@@ -378,7 +409,7 @@ public override void Execute()
- #line 85 "..\..\Dashboard\Pages\ScheduledJobsPage.cshtml"
+ #line 89 "..\..\Dashboard\Pages\ScheduledJobsPage.cshtml"
Write(job.Key);
@@ -388,7 +419,7 @@ public override void Execute()
- #line 86 "..\..\Dashboard\Pages\ScheduledJobsPage.cshtml"
+ #line 90 "..\..\Dashboard\Pages\ScheduledJobsPage.cshtml"
}
@@ -398,7 +429,7 @@ public override void Execute()
- #line 88 "..\..\Dashboard\Pages\ScheduledJobsPage.cshtml"
+ #line 92 "..\..\Dashboard\Pages\ScheduledJobsPage.cshtml"
}
@@ -409,7 +440,7 @@ public override void Execute()
- #line 90 "..\..\Dashboard\Pages\ScheduledJobsPage.cshtml"
+ #line 94 "..\..\Dashboard\Pages\ScheduledJobsPage.cshtml"
Write(Html.JobIdLink(job.Key));
@@ -419,7 +450,7 @@ public override void Execute()
- #line 91 "..\..\Dashboard\Pages\ScheduledJobsPage.cshtml"
+ #line 95 "..\..\Dashboard\Pages\ScheduledJobsPage.cshtml"
if (!job.Value.InScheduledState)
{
@@ -430,7 +461,7 @@ public override void Execute()
- #line 93 "..\..\Dashboard\Pages\ScheduledJobsPage.cshtml"
+ #line 97 "..\..\Dashboard\Pages\ScheduledJobsPage.cshtml"
Write(Strings.Common_JobStateChanged_Text);
@@ -440,7 +471,7 @@ public override void Execute()
- #line 94 "..\..\Dashboard\Pages\ScheduledJobsPage.cshtml"
+ #line 98 "..\..\Dashboard\Pages\ScheduledJobsPage.cshtml"
}
@@ -451,7 +482,7 @@ public override void Execute()
- #line 97 "..\..\Dashboard\Pages\ScheduledJobsPage.cshtml"
+ #line 101 "..\..\Dashboard\Pages\ScheduledJobsPage.cshtml"
Write(Html.RelativeTime(job.Value.EnqueueAt));
@@ -462,18 +493,49 @@ public override void Execute()
- #line 100 "..\..\Dashboard\Pages\ScheduledJobsPage.cshtml"
+ #line 104 "..\..\Dashboard\Pages\ScheduledJobsPage.cshtml"
Write(Html.JobNameLink(job.Key, job.Value.Job));
#line default
#line hidden
-WriteLiteral("\r\n \r\n \r\n");
+WriteLiteral("\r\n \r\n");
+
+
+
+ #line 106 "..\..\Dashboard\Pages\ScheduledJobsPage.cshtml"
+ if (DashboardOptions.DisplayArgumentsInLists)
+ {
+
+
+ #line default
+ #line hidden
+WriteLiteral(" \r\n " +
+" ");
+
+
+
+ #line 109 "..\..\Dashboard\Pages\ScheduledJobsPage.cshtml"
+ Write(Html.JobArguments(job.Value.Job));
+
+
+ #line default
+ #line hidden
+WriteLiteral("\r\n \r\n");
+
+
+
+ #line 111 "..\..\Dashboard\Pages\ScheduledJobsPage.cshtml"
+ }
+
+
+ #line default
+ #line hidden
+WriteLiteral(" \r\n");
- #line 103 "..\..\Dashboard\Pages\ScheduledJobsPage.cshtml"
+ #line 113 "..\..\Dashboard\Pages\ScheduledJobsPage.cshtml"
if (job.Value.ScheduledAt.HasValue)
{
@@ -481,14 +543,14 @@ public override void Execute()
#line default
#line hidden
- #line 105 "..\..\Dashboard\Pages\ScheduledJobsPage.cshtml"
+ #line 115 "..\..\Dashboard\Pages\ScheduledJobsPage.cshtml"
Write(Html.RelativeTime(job.Value.ScheduledAt.Value));
#line default
#line hidden
- #line 105 "..\..\Dashboard\Pages\ScheduledJobsPage.cshtml"
+ #line 115 "..\..\Dashboard\Pages\ScheduledJobsPage.cshtml"
}
@@ -499,7 +561,7 @@ public override void Execute()
- #line 109 "..\..\Dashboard\Pages\ScheduledJobsPage.cshtml"
+ #line 119 "..\..\Dashboard\Pages\ScheduledJobsPage.cshtml"
}
@@ -509,7 +571,7 @@ public override void Execute()
- #line 113 "..\..\Dashboard\Pages\ScheduledJobsPage.cshtml"
+ #line 123 "..\..\Dashboard\Pages\ScheduledJobsPage.cshtml"
Write(Html.Paginator(pager));
@@ -519,7 +581,7 @@ public override void Execute()
- #line 115 "..\..\Dashboard\Pages\ScheduledJobsPage.cshtml"
+ #line 125 "..\..\Dashboard\Pages\ScheduledJobsPage.cshtml"
}
diff --git a/src/Hangfire.Core/Dashboard/Pages/SucceededJobs.cshtml b/src/Hangfire.Core/Dashboard/Pages/SucceededJobs.cshtml
index 30c8cbe53..77a227b1f 100644
--- a/src/Hangfire.Core/Dashboard/Pages/SucceededJobs.cshtml
+++ b/src/Hangfire.Core/Dashboard/Pages/SucceededJobs.cshtml
@@ -55,11 +55,15 @@
@if (!IsReadOnly)
{
-
+
}
@Strings.Common_Id
@Strings.Common_Job
+ @if (DashboardOptions.DisplayArgumentsInLists)
+ {
+ @Strings.Arguments
+ }
@Strings.SucceededJobsPage_Table_TotalDuration
@Strings.SucceededJobsPage_Table_Succeeded
@@ -87,7 +91,7 @@
@if (job.Value == null)
{
-
+
@Strings.Common_JobExpired
}
@@ -96,6 +100,12 @@
@Html.JobNameLink(job.Key, job.Value.Job)
+ if (DashboardOptions.DisplayArgumentsInLists)
+ {
+
+ @Html.JobArguments(job.Value.Job)
+
+ }
@if (job.Value.TotalDuration.HasValue)
{
diff --git a/src/Hangfire.Core/Dashboard/Pages/SucceededJobs.cshtml.cs b/src/Hangfire.Core/Dashboard/Pages/SucceededJobs.cshtml.cs
index cbde6ca49..e58a6708a 100644
--- a/src/Hangfire.Core/Dashboard/Pages/SucceededJobs.cshtml.cs
+++ b/src/Hangfire.Core/Dashboard/Pages/SucceededJobs.cshtml.cs
@@ -1,11 +1,11 @@
#pragma warning disable 1591
//------------------------------------------------------------------------------
//
-// This code was generated by a tool.
-// Runtime Version:4.0.30319.42000
+// Ce code a été généré par un outil.
+// Version du runtime :4.0.30319.42000
//
-// Changes to this file may cause incorrect behavior and will be lost if
-// the code is regenerated.
+// Les modifications apportées à ce fichier peuvent provoquer un comportement incorrect et seront perdues si
+// le code est régénéré.
//
//------------------------------------------------------------------------------
@@ -213,8 +213,8 @@ public override void Execute()
#line default
#line hidden
WriteLiteral(" \r\n " +
-" \r\n " +
-" \r\n");
+" \r\n " +
+" \r\n");
@@ -244,11 +244,42 @@ public override void Execute()
#line default
#line hidden
-WriteLiteral("\r\n ");
+WriteLiteral(" \r\n");
#line 63 "..\..\Dashboard\Pages\SucceededJobs.cshtml"
+ if (DashboardOptions.DisplayArgumentsInLists)
+ {
+
+
+ #line default
+ #line hidden
+WriteLiteral(" ");
+
+
+
+ #line 65 "..\..\Dashboard\Pages\SucceededJobs.cshtml"
+ Write(Strings.Arguments);
+
+
+ #line default
+ #line hidden
+WriteLiteral(" \r\n");
+
+
+
+ #line 66 "..\..\Dashboard\Pages\SucceededJobs.cshtml"
+ }
+
+
+ #line default
+ #line hidden
+WriteLiteral(" ");
+
+
+
+ #line 67 "..\..\Dashboard\Pages\SucceededJobs.cshtml"
Write(Strings.SucceededJobsPage_Table_TotalDuration);
@@ -258,7 +289,7 @@ public override void Execute()
- #line 64 "..\..\Dashboard\Pages\SucceededJobs.cshtml"
+ #line 68 "..\..\Dashboard\Pages\SucceededJobs.cshtml"
Write(Strings.SucceededJobsPage_Table_Succeeded);
@@ -269,7 +300,7 @@ public override void Execute()
- #line 68 "..\..\Dashboard\Pages\SucceededJobs.cshtml"
+ #line 72 "..\..\Dashboard\Pages\SucceededJobs.cshtml"
foreach (var job in succeededJobs)
{
@@ -280,7 +311,7 @@ public override void Execute()
- #line 70 "..\..\Dashboard\Pages\SucceededJobs.cshtml"
+ #line 74 "..\..\Dashboard\Pages\SucceededJobs.cshtml"
Write(job.Value == null || !job.Value.InSucceededState ? "obsolete-data" : null);
@@ -290,7 +321,7 @@ public override void Execute()
- #line 70 "..\..\Dashboard\Pages\SucceededJobs.cshtml"
+ #line 74 "..\..\Dashboard\Pages\SucceededJobs.cshtml"
Write(job.Value != null && job.Value.InSucceededState ? "hover" : null);
@@ -300,7 +331,7 @@ public override void Execute()
- #line 71 "..\..\Dashboard\Pages\SucceededJobs.cshtml"
+ #line 75 "..\..\Dashboard\Pages\SucceededJobs.cshtml"
if (!IsReadOnly)
{
@@ -311,7 +342,7 @@ public override void Execute()
- #line 74 "..\..\Dashboard\Pages\SucceededJobs.cshtml"
+ #line 78 "..\..\Dashboard\Pages\SucceededJobs.cshtml"
if (job.Value == null || job.Value.InSucceededState)
{
@@ -323,7 +354,7 @@ public override void Execute()
- #line 76 "..\..\Dashboard\Pages\SucceededJobs.cshtml"
+ #line 80 "..\..\Dashboard\Pages\SucceededJobs.cshtml"
Write(job.Key);
@@ -333,7 +364,7 @@ public override void Execute()
- #line 77 "..\..\Dashboard\Pages\SucceededJobs.cshtml"
+ #line 81 "..\..\Dashboard\Pages\SucceededJobs.cshtml"
}
@@ -343,7 +374,7 @@ public override void Execute()
- #line 79 "..\..\Dashboard\Pages\SucceededJobs.cshtml"
+ #line 83 "..\..\Dashboard\Pages\SucceededJobs.cshtml"
}
@@ -354,7 +385,7 @@ public override void Execute()
- #line 81 "..\..\Dashboard\Pages\SucceededJobs.cshtml"
+ #line 85 "..\..\Dashboard\Pages\SucceededJobs.cshtml"
Write(Html.JobIdLink(job.Key));
@@ -364,7 +395,7 @@ public override void Execute()
- #line 82 "..\..\Dashboard\Pages\SucceededJobs.cshtml"
+ #line 86 "..\..\Dashboard\Pages\SucceededJobs.cshtml"
if (job.Value != null && !job.Value.InSucceededState)
{
@@ -375,7 +406,7 @@ public override void Execute()
- #line 84 "..\..\Dashboard\Pages\SucceededJobs.cshtml"
+ #line 88 "..\..\Dashboard\Pages\SucceededJobs.cshtml"
Write(Strings.Common_JobStateChanged_Text);
@@ -385,7 +416,7 @@ public override void Execute()
- #line 85 "..\..\Dashboard\Pages\SucceededJobs.cshtml"
+ #line 89 "..\..\Dashboard\Pages\SucceededJobs.cshtml"
}
@@ -395,19 +426,28 @@ public override void Execute()
- #line 88 "..\..\Dashboard\Pages\SucceededJobs.cshtml"
+ #line 92 "..\..\Dashboard\Pages\SucceededJobs.cshtml"
if (job.Value == null)
{
#line default
#line hidden
-WriteLiteral(" \r\n " +
-" ");
+WriteLiteral(" \r\n ");
- #line 91 "..\..\Dashboard\Pages\SucceededJobs.cshtml"
+ #line 95 "..\..\Dashboard\Pages\SucceededJobs.cshtml"
Write(Strings.Common_JobExpired);
@@ -417,7 +457,7 @@ public override void Execute()
- #line 93 "..\..\Dashboard\Pages\SucceededJobs.cshtml"
+ #line 97 "..\..\Dashboard\Pages\SucceededJobs.cshtml"
}
else
{
@@ -430,7 +470,7 @@ public override void Execute()
- #line 97 "..\..\Dashboard\Pages\SucceededJobs.cshtml"
+ #line 101 "..\..\Dashboard\Pages\SucceededJobs.cshtml"
Write(Html.JobNameLink(job.Key, job.Value.Job));
@@ -439,12 +479,40 @@ public override void Execute()
WriteLiteral("\r\n \r\n");
+
+ #line 103 "..\..\Dashboard\Pages\SucceededJobs.cshtml"
+ if (DashboardOptions.DisplayArgumentsInLists)
+ {
+
+
+ #line default
+ #line hidden
+WriteLiteral(" \r\n" +
+" ");
+
+
+
+ #line 106 "..\..\Dashboard\Pages\SucceededJobs.cshtml"
+ Write(Html.JobArguments(job.Value.Job));
+
+
+ #line default
+ #line hidden
+WriteLiteral("\r\n \r\n");
+
+
+
+ #line 108 "..\..\Dashboard\Pages\SucceededJobs.cshtml"
+ }
+
+ #line default
+ #line hidden
WriteLiteral(" \r\n");
- #line 100 "..\..\Dashboard\Pages\SucceededJobs.cshtml"
+ #line 110 "..\..\Dashboard\Pages\SucceededJobs.cshtml"
if (job.Value.TotalDuration.HasValue)
{
@@ -452,14 +520,14 @@ public override void Execute()
#line default
#line hidden
- #line 102 "..\..\Dashboard\Pages\SucceededJobs.cshtml"
+ #line 112 "..\..\Dashboard\Pages\SucceededJobs.cshtml"
Write(Html.ToHumanDuration(TimeSpan.FromMilliseconds(job.Value.TotalDuration.Value), false));
#line default
#line hidden
- #line 102 "..\..\Dashboard\Pages\SucceededJobs.cshtml"
+ #line 112 "..\..\Dashboard\Pages\SucceededJobs.cshtml"
}
@@ -474,7 +542,7 @@ public override void Execute()
- #line 106 "..\..\Dashboard\Pages\SucceededJobs.cshtml"
+ #line 116 "..\..\Dashboard\Pages\SucceededJobs.cshtml"
if (job.Value.SucceededAt.HasValue)
{
@@ -482,14 +550,14 @@ public override void Execute()
#line default
#line hidden
- #line 108 "..\..\Dashboard\Pages\SucceededJobs.cshtml"
+ #line 118 "..\..\Dashboard\Pages\SucceededJobs.cshtml"
Write(Html.RelativeTime(job.Value.SucceededAt.Value));
#line default
#line hidden
- #line 108 "..\..\Dashboard\Pages\SucceededJobs.cshtml"
+ #line 118 "..\..\Dashboard\Pages\SucceededJobs.cshtml"
}
@@ -500,7 +568,7 @@ public override void Execute()
- #line 111 "..\..\Dashboard\Pages\SucceededJobs.cshtml"
+ #line 121 "..\..\Dashboard\Pages\SucceededJobs.cshtml"
}
@@ -510,7 +578,7 @@ public override void Execute()
- #line 113 "..\..\Dashboard\Pages\SucceededJobs.cshtml"
+ #line 123 "..\..\Dashboard\Pages\SucceededJobs.cshtml"
}
@@ -521,7 +589,7 @@ public override void Execute()
- #line 118 "..\..\Dashboard\Pages\SucceededJobs.cshtml"
+ #line 128 "..\..\Dashboard\Pages\SucceededJobs.cshtml"
Write(Html.Paginator(pager));
@@ -531,7 +599,7 @@ public override void Execute()
- #line 120 "..\..\Dashboard\Pages\SucceededJobs.cshtml"
+ #line 130 "..\..\Dashboard\Pages\SucceededJobs.cshtml"
}
diff --git a/src/Hangfire.Core/DashboardOptions.cs b/src/Hangfire.Core/DashboardOptions.cs
index e38ca5864..a9c101e62 100644
--- a/src/Hangfire.Core/DashboardOptions.cs
+++ b/src/Hangfire.Core/DashboardOptions.cs
@@ -33,6 +33,7 @@ public DashboardOptions()
DisplayStorageConnectionString = true;
DashboardTitle = "Hangfire Dashboard";
DisplayNameFunc = null;
+ DisplayArgumentsInLists = false;
}
///
@@ -60,6 +61,11 @@ public DashboardOptions()
///
public int StatsPollingInterval { get; set; }
+ ///
+ /// Gets or sets a value indicating whether or not to display arguments in job lists.
+ ///
+ public bool DisplayArgumentsInLists { get; set; }
+
public bool DisplayStorageConnectionString { get; set; }
///