- @if (!_addSiteGroupDefinition)
+ @if (!_addSiteGroup)
{
-
+
-
}
- @if (_siteGroupDefinitionId != -1 || _addSiteGroupDefinition)
+ @if (_siteGroupId != -1 || _addSiteGroup)
{
-
+
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
}
- @if (_siteGroupDefinitionId != -1)
+ @if (_siteGroupId != -1)
{
-
+
SiteChanged(e))">
+
@foreach (var site in _sites)
{
-
+
}
+ @if (!_addSiteGroupMember)
+ {
+
+ }
+ else
+ {
+
+ }
}
- @if (_siteGroupDefinitionId != -1)
+ @if (_siteGroupId != -1 && _siteId != -1)
{
-
+
-
+
-
-
+
- @if (_member == "Secondary" && _synchronization == "True")
+ @if (_primary == "False" && (_groupType == SiteGroupTypes.Synchronization || _groupType == SiteGroupTypes.Comparison))
{
-
+
-
-
- @if (_localization == "False")
- {
-
- }
-
-
-
-
-
-
-
-
-
-
-
-
- @if (!string.IsNullOrEmpty(_synchronized))
- {
-
-
-
+
-
+ @if (!string.IsNullOrEmpty(_synchronized))
+ {
+
+ }
- }
+
+
- @if (UserSecurity.IsAuthorized(PageState.User, RoleNames.Host) && _siteGroupDefinitions.Any(item => item.PrimarySiteId == PageState.Site.SiteId && item.Synchronization))
- {
-
@@ -685,18 +663,16 @@
private string _defaultalias;
private bool _addAlias = false;
- private List