diff --git a/CHANGELOG.unreleased.md b/CHANGELOG.unreleased.md index 85aeca59a42..fc4c9ae9d38 100644 --- a/CHANGELOG.unreleased.md +++ b/CHANGELOG.unreleased.md @@ -11,6 +11,8 @@ > Users must be able to say: “I had this issue, happy to know it's fixed” +- [Pool] Add tooltip on "no XCP-ng Pro support" warning icon (PR [#6505](https://github.com/vatesfr/xen-orchestra/pull/6505)) + ### Packages to release > When modifying a package, add it here with its release type. @@ -27,6 +29,7 @@ +- xo-web patch - xo-server patch diff --git a/packages/xo-web/src/common/intl/messages.js b/packages/xo-web/src/common/intl/messages.js index 1db16dd2802..171ba7ce1e9 100644 --- a/packages/xo-web/src/common/intl/messages.js +++ b/packages/xo-web/src/common/intl/messages.js @@ -812,6 +812,7 @@ const messages = { // ----- Pool general ----- earliestExpirationDate: 'Earliest expiration: {dateString}', + poolNoSupport: 'No XCP-ng Pro support enabled on this pool', poolPartialSupport: 'Only {nHostsLicense, number} host{nHostsLicense, plural, one {} other {s}} under license on {nHosts, number} host{nHosts, plural, one {} other {s}}. This means this pool is not supported at all until you license all its hosts.', poolTitleRamUsage: 'Pool RAM usage:', diff --git a/packages/xo-web/src/xo-app/index.js b/packages/xo-web/src/xo-app/index.js index 0c92d200090..e09eef54242 100644 --- a/packages/xo-web/src/xo-app/index.js +++ b/packages/xo-web/src/xo-app/index.js @@ -82,18 +82,30 @@ const BODY_STYLE = { width: '100%', } +const WrapperIconPoolLicense = ({ children, tooltip }) => ( + + + {children} + + +) + export const ICON_POOL_LICENSE = { total: tooltip => ( - + - + ), partial: tooltip => ( - + - + + ), + any: () => ( + + + ), - any: () => , } @routes('home', {