mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-07-10 23:42:36 -07:00
Reworked the custom notifications... again. Need to figure out how to find the view to the model
This commit is contained in:
parent
f0ce5556c3
commit
a19e81d1f8
6 changed files with 112 additions and 35 deletions
|
@ -34,17 +34,16 @@ namespace PlexRequests.Core.SettingModels
|
|||
{
|
||||
public NotificationSettings()
|
||||
{
|
||||
Message = new Dictionary<NotificationType, NotificationMessageContent>
|
||||
Message = new List<NotificationMessage>
|
||||
{
|
||||
{NotificationType.NewRequest, new NotificationMessageContent() },
|
||||
{NotificationType.Issue, new NotificationMessageContent() },
|
||||
{NotificationType.AdminNote, new NotificationMessageContent() },
|
||||
{NotificationType.RequestApproved, new NotificationMessageContent() },
|
||||
{NotificationType.RequestAvailable, new NotificationMessageContent() },
|
||||
{NotificationType.Test, new NotificationMessageContent() },
|
||||
new NotificationMessage { NotificationType = NotificationType.NewRequest },
|
||||
new NotificationMessage { NotificationType = NotificationType.Issue },
|
||||
new NotificationMessage { NotificationType = NotificationType.AdminNote },
|
||||
new NotificationMessage { NotificationType = NotificationType.RequestApproved },
|
||||
new NotificationMessage { NotificationType = NotificationType.RequestAvailable },
|
||||
};
|
||||
}
|
||||
public Dictionary<NotificationType, NotificationMessageContent> Message { get; set; }
|
||||
public List<NotificationMessage> Message { get; set; }
|
||||
}
|
||||
|
||||
public static class NotificationCurly
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue