diff --git a/src/ServiceInsight/Shell/About.xaml b/src/ServiceInsight/Shell/About.xaml index 45ea827cf..007633975 100644 --- a/src/ServiceInsight/Shell/About.xaml +++ b/src/ServiceInsight/Shell/About.xaml @@ -68,8 +68,19 @@ - - + + + + + + + + \ No newline at end of file diff --git a/src/ServiceInsight/Shell/AboutViewModel.cs b/src/ServiceInsight/Shell/AboutViewModel.cs index ae7ca4012..f652ad5da 100644 --- a/src/ServiceInsight/Shell/AboutViewModel.cs +++ b/src/ServiceInsight/Shell/AboutViewModel.cs @@ -1,14 +1,14 @@ namespace ServiceInsight.Shell { - using System.Linq; - using ServiceInsight.ServiceControl; using System; using System.ComponentModel; + using System.Linq; using System.Threading.Tasks; using System.Windows.Input; using Caliburn.Micro; using ServiceInsight.Framework; using ServiceInsight.Framework.Licensing; + using ServiceInsight.ServiceControl; public class AboutViewModel : INotifyPropertyChanged, IActivate, IHaveDisplayName { @@ -35,7 +35,7 @@ public class AboutViewModel : INotifyPropertyChanged, IActivate, IHaveDisplayNam public string ServiceControlVersion { get; private set; } public string CopyrightText { get; private set; } - + public ICommand NavigateToServiceInsightSupportPolicyCommand { get; } public string DisplayName { get; set; } public string CommitHash { get; private set; } @@ -43,7 +43,7 @@ public class AboutViewModel : INotifyPropertyChanged, IActivate, IHaveDisplayNam public bool IsActive { get; private set; } public ICommand NavigateToSiteCommand { get; } - + public string SupportPolicyUrl => "https://docs.particular.net/serviceinsight/support-policy"; public AboutViewModel( NetworkOperations networkOperations, IApplicationVersionService applicationVersionService, @@ -57,6 +57,8 @@ public AboutViewModel( DisplayName = "About"; NavigateToSiteCommand = Command.Create(() => networkOperations.Browse("http://www.particular.net")); + NavigateToServiceInsightSupportPolicyCommand = Command.Create(() => networkOperations.Browse(SupportPolicyUrl)); + } AboutViewModel(IApplicationVersionService applicationVersionService) diff --git a/src/ServiceInsight/Shell/Shell.xaml b/src/ServiceInsight/Shell/Shell.xaml index 5bb61df90..f26e72191 100644 --- a/src/ServiceInsight/Shell/Shell.xaml +++ b/src/ServiceInsight/Shell/Shell.xaml @@ -167,6 +167,30 @@ Command="{Binding ResetLayoutCommand}" CustomizationContent="Reset Layout" Content="Restore default layout" /> + + + + + + + + + + + + + + + + + + + +