-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add HTML support to notification summary (#15607)
- Loading branch information
1 parent
bd0c019
commit 88a61bd
Showing
32 changed files
with
372 additions
and
141 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...chardCore.Modules/OrchardCore.Contents/Views/Items/UpdateContentTask.Fields.Design.cshtml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
14 changes: 13 additions & 1 deletion
14
...hardCore.Modules/OrchardCore.Notifications/Drivers/NotifyContentOwnerTaskDisplayDriver.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,20 @@ | ||
using Microsoft.Extensions.Localization; | ||
using Microsoft.Extensions.Options; | ||
using OrchardCore.Infrastructure.Html; | ||
using OrchardCore.Liquid; | ||
using OrchardCore.Notifications.Activities; | ||
using OrchardCore.Notifications.Models; | ||
|
||
namespace OrchardCore.Notifications.Drivers; | ||
|
||
public class NotifyContentOwnerTaskDisplayDriver : NotifyUserTaskActivityDisplayDriver<NotifyContentOwnerTask> | ||
{ | ||
|
||
public NotifyContentOwnerTaskDisplayDriver( | ||
IHtmlSanitizerService htmlSanitizerService, | ||
ILiquidTemplateManager liquidTemplateManager, | ||
IOptions<NotificationOptions> notificationOptions, | ||
IStringLocalizer<NotifyContentOwnerTaskDisplayDriver> stringLocalizer) | ||
: base(htmlSanitizerService, liquidTemplateManager, notificationOptions, stringLocalizer) | ||
{ | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
13 changes: 13 additions & 0 deletions
13
src/OrchardCore.Modules/OrchardCore.Notifications/Drivers/NotifyUserTaskDisplayDriver.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,20 @@ | ||
using Microsoft.Extensions.Localization; | ||
using Microsoft.Extensions.Options; | ||
using OrchardCore.Infrastructure.Html; | ||
using OrchardCore.Liquid; | ||
using OrchardCore.Notifications.Activities; | ||
using OrchardCore.Notifications.Models; | ||
|
||
namespace OrchardCore.Notifications.Drivers; | ||
|
||
public class NotifyUserTaskDisplayDriver : NotifyUserTaskActivityDisplayDriver<NotifyUserTask> | ||
{ | ||
public NotifyUserTaskDisplayDriver( | ||
IHtmlSanitizerService htmlSanitizerService, | ||
ILiquidTemplateManager liquidTemplateManager, | ||
IOptions<NotificationOptions> notificationOptions, | ||
IStringLocalizer<NotifyUserTaskDisplayDriver> stringLocalizer) | ||
: base(htmlSanitizerService, liquidTemplateManager, notificationOptions, stringLocalizer) | ||
{ | ||
} | ||
} |
Oops, something went wrong.