зеркало из https://github.com/microsoft/TeamMate.git
Remove faces, add link to git hub repo (#37)
* Remove faces, add link to git hub repo * Add MIT license link
This commit is contained in:
Родитель
13c8c8c798
Коммит
de9b4f853f
|
@ -23,6 +23,9 @@ namespace Microsoft.Tools.TeamMate.Model
|
|||
private static bool historyLoaded;
|
||||
private static ApplicationHistory history;
|
||||
|
||||
public static string GitHubProjectUri => "https://github.com/microsoft/TeamMate";
|
||||
public static string GitHubMITLicenseUri => "https://github.com/microsoft/TeamMate/blob/main/LICENSE";
|
||||
|
||||
static TeamMateApplicationInfo()
|
||||
{
|
||||
ApplicationName = "TeamMate";
|
||||
|
|
|
@ -88,32 +88,20 @@
|
|||
<StackPanel Margin="24">
|
||||
<TextBlock Style="{StaticResource SettingsGroupHeaderTextStyle}" Text="{x:Static tmm:TeamMateApplicationInfo.ApplicationName}" />
|
||||
<TextBlock Margin="0,12,0,0">
|
||||
<Run Text="© 2014 Microsoft Corporation. All rights reserved." />
|
||||
<LineBreak />
|
||||
<Run Text="For Microsoft Internal Use Only." />
|
||||
<LineBreak />
|
||||
<LineBreak /><Run Text="Version " /><Run Text="{x:Static tmm:TeamMateApplicationInfo.FullVersion}" />
|
||||
<Run Text="Version " /><Run Text="{x:Static tmm:TeamMateApplicationInfo.FullVersion}" />
|
||||
</TextBlock>
|
||||
<TextBlock Margin="0,12,0,0">
|
||||
GitHub project:
|
||||
<Hyperlink Command="{Binding OpenGitHubProjectUrlCommand}">
|
||||
<Run Text="{x:Static tmm:TeamMateApplicationInfo.GitHubProjectUri}" />
|
||||
</Hyperlink>
|
||||
</TextBlock>
|
||||
<TextBlock Margin="0,36,0,0">
|
||||
<Hyperlink Command="{Binding OpenGitHubMITLicenseUrlCommand}">
|
||||
MIT license
|
||||
</Hyperlink>
|
||||
</TextBlock>
|
||||
<TextBlock Margin="0,24,0,12" Style="{StaticResource SettingsGroupHeaderTextStyle}">Our Team</TextBlock>
|
||||
<ListBox Style="{StaticResource SimpleWrappingListBoxStyle}">
|
||||
<ListBox.Items>
|
||||
<tmc:TeamMemberView
|
||||
Margin="0,0,24,24"
|
||||
DisplayName="Ben"
|
||||
ImageSource="/Resources/Images/Team/Ben.jpg"
|
||||
LaunchUrl="http://who/is/bamodio" />
|
||||
<tmc:TeamMemberView
|
||||
Margin="0,0,24,24"
|
||||
DisplayName="Justin"
|
||||
ImageSource="/Resources/Images/Team/Justin.jpg"
|
||||
LaunchUrl="http://who/is/julam" />
|
||||
<tmc:TeamMemberView
|
||||
Margin="0,0,24,24"
|
||||
DisplayName="Vanya"
|
||||
ImageSource="/Resources/Images/Team/ivanv.jpg"
|
||||
LaunchUrl="http://who/is/ivanv" />
|
||||
</ListBox.Items>
|
||||
</ListBox>
|
||||
</StackPanel>
|
||||
</ScrollViewer>
|
||||
</TabItem>
|
||||
|
|
Двоичные данные
Source/TeamMate/Resources/Images/Team/Ben.jpg
Двоичные данные
Source/TeamMate/Resources/Images/Team/Ben.jpg
Двоичный файл не отображается.
До Ширина: | Высота: | Размер: 19 KiB |
Двоичные данные
Source/TeamMate/Resources/Images/Team/Justin.jpg
Двоичные данные
Source/TeamMate/Resources/Images/Team/Justin.jpg
Двоичный файл не отображается.
До Ширина: | Высота: | Размер: 32 KiB |
Двоичные данные
Source/TeamMate/Resources/Images/Team/ivanv.jpg
Двоичные данные
Source/TeamMate/Resources/Images/Team/ivanv.jpg
Двоичный файл не отображается.
До Ширина: | Высота: | Размер: 6.4 KiB |
|
@ -5,5 +5,14 @@ namespace Microsoft.Tools.TeamMate.Services
|
|||
{
|
||||
public class ExternalWebBrowserService
|
||||
{
|
||||
public void OpenGitHubProjectUrl()
|
||||
{
|
||||
ExternalWebBrowser.Launch(TeamMateApplicationInfo.GitHubProjectUri);
|
||||
}
|
||||
|
||||
public void OpenGitHubMITLicenseUrl()
|
||||
{
|
||||
ExternalWebBrowser.Launch(TeamMateApplicationInfo.GitHubMITLicenseUri);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -980,14 +980,11 @@
|
|||
<Resource Include="Resources\Icons\Office15\Stop.16x16x32.png" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Resource Include="Resources\Images\Team\Ben.jpg" />
|
||||
<Resource Include="Resources\Icons\Bugger\GrayGift.png" />
|
||||
<Resource Include="Resources\Icons\Bugger\GreenGift.png" />
|
||||
<Resource Include="Resources\Icons\Bugger\RedGift.png" />
|
||||
<Resource Include="Resources\Icons\Bugger\YellowGift.png" />
|
||||
<Resource Include="Resources\Images\Team\Justin.jpg" />
|
||||
<Resource Include="Resources\Icons\Office15\CheckmarkCompleted.16x16x32.png" />
|
||||
<Resource Include="Resources\Images\Team\ivanv.jpg" />
|
||||
<Resource Include="Resources\Icons\QueryPicker\AlertError.16x16x32.png" />
|
||||
<Resource Include="Resources\Icons\QueryPicker\FlatQuery_16.png" />
|
||||
<Resource Include="Resources\Icons\QueryPicker\FolderClosed_16.png" />
|
||||
|
|
|
@ -54,6 +54,16 @@ namespace Microsoft.Tools.TeamMate.ViewModels
|
|||
|
||||
public ICommand OpenLogsFolderCommand { get; private set; }
|
||||
|
||||
public ICommand OpenGitHubProjectUrlCommand => new RelayCommand(() =>
|
||||
{
|
||||
this.ExternalWebBrowserService.OpenGitHubProjectUrl();
|
||||
});
|
||||
|
||||
public ICommand OpenGitHubMITLicenseUrlCommand => new RelayCommand(() =>
|
||||
{
|
||||
this.ExternalWebBrowserService.OpenGitHubMITLicenseUrl();
|
||||
});
|
||||
|
||||
public string LogsFolder
|
||||
{
|
||||
get
|
||||
|
|
Загрузка…
Ссылка в новой задаче