Feature #37: Stale Jobs

Stale Jobs replaces Long-Running Jobs on the homepage. Last Activity is
added to the job table.
This commit is contained in:
Gary Sharp
2014-02-13 22:17:49 +11:00
parent 2ac3a9bdd3
commit 68256d7abd
30 changed files with 881 additions and 330 deletions
@@ -9,7 +9,9 @@ namespace Disco.Models.UI.Config.JobPreferences
public interface ConfigJobPreferencesIndexModel : BaseUIModel
{
int LongRunningJobDaysThreshold { get; set; }
int StaleJobMinutesThreshold { get; set; }
List<KeyValuePair<int, string>> LongRunningJobDaysThresholdOptions();
List<KeyValuePair<int, string>> StaleJobMinutesThresholdOptions();
}
}
+1 -1
View File
@@ -5,6 +5,6 @@ namespace Disco.Models.UI.Job
public interface JobIndexModel : BaseUIModel
{
JobTableModel MyJobs { get; set; }
JobTableModel LongRunningJobs { get; set; }
JobTableModel StaleJobs { get; set; }
}
}