JobProvider now stores last execution and success

JobProvider is now wired working
Job view ui is updated
This commit is contained in:
kay.one
2011-04-21 22:46:47 -07:00
parent 6f73260ab7
commit fa1b287d58
9 changed files with 65 additions and 72 deletions

View File

@@ -40,6 +40,7 @@ namespace NzbDrone.Web.Controllers
{
//TODO: possible subsonic bug, IQuarible causes some issues so ToList() is called
//https://github.com/subsonic/SubSonic-3.0/issues/263
var history = _historyProvider.AllItems().ToList().Select(h => new HistoryModel
{

View File

@@ -7,11 +7,11 @@ using NzbDrone.Core.Providers.Jobs;
namespace NzbDrone.Web.Controllers
{
public class TimersController : Controller
public class JobController : Controller
{
private readonly JobProvider _jobProvider;
public TimersController(JobProvider jobProvider)
public JobController(JobProvider jobProvider)
{
_jobProvider = jobProvider;
}