Skip to content

Commit

Permalink
All the configurations of host in a pool are the same. Fix some revie…
Browse files Browse the repository at this point in the history
…w comments.
  • Loading branch information
BengangY committed Oct 17, 2023
1 parent 02988d1 commit 6c81585
Show file tree
Hide file tree
Showing 8 changed files with 178 additions and 351 deletions.
2 changes: 1 addition & 1 deletion XenAdmin/Dialogs/PropertiesDialog.cs
Original file line number Diff line number Diff line change
Expand Up @@ -318,7 +318,7 @@ private void Build()
dialog.ShowDialog(Program.MainWindow);
}
}
if ((isHost || isPool) &&
if (isPoolOrStandalone &&
(connection.Session.IsLocalSuperuser || connection.Session.Roles.Any(r => r.name_label == Role.MR_ROLE_POOL_ADMIN)))
{
NRPEEditPage = new NRPEEditPage();
Expand Down
6 changes: 3 additions & 3 deletions XenAdmin/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,10 @@
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("XenCenter")]
[assembly: AssemblyDescription("XenCenter")]
[assembly: AssemblyTitle("[XenCenter]")]
[assembly: AssemblyDescription("[XenCenter]")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyProduct("XenCenter")]
[assembly: AssemblyProduct("[XenCenter]")]

// Setting ComVisible to false makes the types in this assembly not visible
// to COM components. If you need to access a type in this assembly from
Expand Down
80 changes: 34 additions & 46 deletions XenAdmin/SettingsPanels/NRPEEditPage.Designer.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 6c81585

Please sign in to comment.