mirror of
https://github.com/lidarr/lidarr.git
synced 2025-07-15 01:23:53 -07:00
Better ajax notification for queued jobs.
This commit is contained in:
parent
39be4c567d
commit
3aa0a8f9ee
4 changed files with 19 additions and 11 deletions
|
@ -34,6 +34,11 @@ namespace NzbDrone.Web.Models
|
|||
return GetJsonResult(NotificationType.Error, "Oops!", text);
|
||||
}
|
||||
|
||||
public static JsonResult Queued(string task)
|
||||
{
|
||||
return GetJsonResult(NotificationType.Info, "Added to queue", string.Format("{0} will start soon.", task.Trim()));
|
||||
}
|
||||
|
||||
|
||||
public static JsonResult GetJsonResult(NotificationType notificationType, string title, string text)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue