Revert "Added notifications toggle to user groups (#10450)"
This reverts commit 4c6d4b9326.
This commit is contained in:
@@ -1,24 +0,0 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using Umbraco.Core;
|
||||
|
||||
namespace Umbraco.Web.Actions
|
||||
{
|
||||
public class ActionNotify : IAction
|
||||
{
|
||||
public char Letter => 'N';
|
||||
|
||||
public bool ShowInNotifier => false;
|
||||
|
||||
public bool CanBePermissionAssigned => true;
|
||||
|
||||
public string Icon => "megaphone";
|
||||
|
||||
public string Alias => "notify";
|
||||
|
||||
public string Category => Constants.Conventions.PermissionCategories.ContentCategory;
|
||||
}
|
||||
}
|
||||
@@ -242,7 +242,12 @@ namespace Umbraco.Web.Trees
|
||||
|
||||
if (EmailSender.CanSendRequiredEmail)
|
||||
{
|
||||
AddActionNode<ActionNotify>(item, menu, true, opensDialog: true);
|
||||
menu.Items.Add(new MenuItem("notify", Services.TextService)
|
||||
{
|
||||
Icon = "megaphone",
|
||||
SeparatorBefore = true,
|
||||
OpensDialog = true
|
||||
});
|
||||
}
|
||||
|
||||
if((item is DocumentEntitySlim documentEntity && documentEntity.IsContainer) == false)
|
||||
|
||||
@@ -136,7 +136,6 @@
|
||||
<Compile Include="..\SolutionInfo.cs">
|
||||
<Link>Properties\SolutionInfo.cs</Link>
|
||||
</Compile>
|
||||
<Compile Include="Actions\ActionNotify.cs" />
|
||||
<Compile Include="AppBuilderExtensions.cs" />
|
||||
<Compile Include="AreaRegistrationContextExtensions.cs" />
|
||||
<Compile Include="AspNetHttpContextAccessor.cs" />
|
||||
|
||||
Reference in New Issue
Block a user