Cleaned as much of notifications as I could find.

This commit is contained in:
kay.one 2012-01-18 21:01:47 -08:00
parent 121f3258af
commit 3cb61e4c34
16 changed files with 95 additions and 213 deletions

View file

@ -39,7 +39,7 @@ namespace NzbDrone.Web.Controllers
{
_jobProvider.QueueJob(typeof(AppUpdateJob), 0, 0);
return Json(new NotificationResult { Title = "Update will begin shortly", NotificationType = NotificationType.Info, Text = "NzbDrone will restart automatically." });
return JsonNotificationResult.Info("Update will begin shortly", "NzbDrone will restart automatically.");
}
public ActionResult ViewLog( string filepath)