wsp-10323 Convert the VSP provider into one utilizing PowerShell. Step 4 Snapshots
This commit is contained in:
parent
04bb21447e
commit
d61b1613d9
1 changed files with 6 additions and 0 deletions
|
@ -211,18 +211,24 @@ namespace WebsitePanel.Portal.UserControls
|
||||||
|
|
||||||
private void ShowActionList()
|
private void ShowActionList()
|
||||||
{
|
{
|
||||||
|
var checkboxColumn = gvItems.Columns[0];
|
||||||
websiteActions.Visible = false;
|
websiteActions.Visible = false;
|
||||||
mailActions.Visible = false;
|
mailActions.Visible = false;
|
||||||
|
checkboxColumn.Visible = false;
|
||||||
|
|
||||||
switch (QuotaName)
|
switch (QuotaName)
|
||||||
{
|
{
|
||||||
case "Web.Sites":
|
case "Web.Sites":
|
||||||
websiteActions.Visible = true;
|
websiteActions.Visible = true;
|
||||||
|
checkboxColumn.Visible = true;
|
||||||
break;
|
break;
|
||||||
case "Mail.Accounts":
|
case "Mail.Accounts":
|
||||||
ProviderInfo provider = ES.Services.Servers.GetPackageServiceProvider(PanelSecurity.PackageId, "Mail");
|
ProviderInfo provider = ES.Services.Servers.GetPackageServiceProvider(PanelSecurity.PackageId, "Mail");
|
||||||
if (provider.EditorControl == "SmarterMail100")
|
if (provider.EditorControl == "SmarterMail100")
|
||||||
|
{
|
||||||
mailActions.Visible = true;
|
mailActions.Visible = true;
|
||||||
|
checkboxColumn.Visible = true;
|
||||||
|
}
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue