wsp-10323 Convert the VSP provider into one utilizing PowerShell. Step 4 Snapshots

This commit is contained in:
me 2015-03-13 09:08:01 +04:00
parent 04bb21447e
commit d61b1613d9

View file

@ -211,18 +211,24 @@ namespace WebsitePanel.Portal.UserControls
private void ShowActionList()
{
var checkboxColumn = gvItems.Columns[0];
websiteActions.Visible = false;
mailActions.Visible = false;
checkboxColumn.Visible = false;
switch (QuotaName)
{
case "Web.Sites":
websiteActions.Visible = true;
checkboxColumn.Visible = true;
break;
case "Mail.Accounts":
ProviderInfo provider = ES.Services.Servers.GetPackageServiceProvider(PanelSecurity.PackageId, "Mail");
if (provider.EditorControl == "SmarterMail100")
{
mailActions.Visible = true;
checkboxColumn.Visible = true;
}
break;
}
}