From 6a8282c1c6512421c3e30dbc42da5faee5b9f6db Mon Sep 17 00:00:00 2001 From: Mihaela Stoica Date: Tue, 28 Mar 2017 15:33:55 +0100 Subject: [PATCH] CP-21579: Precheck for XenCenter version: Add the link to the XC version web page Signed-off-by: Mihaela Stoica --- .../Problems/XenCenterVersionProblem.cs | 18 +++++++++++++----- 1 file changed, 13 insertions(+), 5 deletions(-) diff --git a/XenAdmin/Diagnostics/Problems/XenCenterVersionProblem.cs b/XenAdmin/Diagnostics/Problems/XenCenterVersionProblem.cs index 6887af8db..1101cd9c0 100644 --- a/XenAdmin/Diagnostics/Problems/XenCenterVersionProblem.cs +++ b/XenAdmin/Diagnostics/Problems/XenCenterVersionProblem.cs @@ -29,12 +29,13 @@ * SUCH DAMAGE. */ +using System; using XenAdmin.Core; using XenAdmin.Diagnostics.Checks; namespace XenAdmin.Diagnostics.Problems { - public class XenCenterVersionProblem : Problem + public class XenCenterVersionProblem : ProblemWithInformationUrl { private XenCenterVersion _requiredXenCenterVersion; @@ -56,10 +57,17 @@ namespace XenAdmin.Diagnostics.Problems public override string HelpMessage { - get - { - return ""; - } + get { return LinkText; } + } + + public override string LinkText + { + get { return Messages.PATCHING_WIZARD_WEBPAGE_CELL; } + } + + public override Uri UriToLaunch + { + get { return new Uri(_requiredXenCenterVersion.Url); } } } }