mirror of
https://github.com/sourcegit-scm/sourcegit
synced 2025-06-17 00:14:59 +00:00
feature: show local branch's track status in CheckoutAndFastForward
popup
Signed-off-by: leo <longshuang@msn.cn>
This commit is contained in:
parent
f59851f454
commit
35eda489be
1 changed files with 12 additions and 0 deletions
|
@ -27,6 +27,18 @@
|
||||||
<StackPanel Grid.Row="0" Grid.Column="1" Orientation="Horizontal">
|
<StackPanel Grid.Row="0" Grid.Column="1" Orientation="Horizontal">
|
||||||
<Path Width="14" Height="14" Margin="4,0" Data="{StaticResource Icons.Branch}"/>
|
<Path Width="14" Height="14" Margin="4,0" Data="{StaticResource Icons.Branch}"/>
|
||||||
<TextBlock Text="{Binding LocalBranch.Name}"/>
|
<TextBlock Text="{Binding LocalBranch.Name}"/>
|
||||||
|
<Border Height="18"
|
||||||
|
Margin="8,0,0,0"
|
||||||
|
Padding="8,0"
|
||||||
|
VerticalAlignment="Center"
|
||||||
|
CornerRadius="9"
|
||||||
|
Background="{DynamicResource Brush.Badge}"
|
||||||
|
IsVisible="{Binding LocalBranch.TrackStatus.IsVisible}">
|
||||||
|
<TextBlock Foreground="{DynamicResource Brush.BadgeFG}"
|
||||||
|
FontFamily="{DynamicResource Fonts.Monospace}"
|
||||||
|
FontSize="10"
|
||||||
|
Text="{Binding LocalBranch.TrackStatus}"/>
|
||||||
|
</Border>
|
||||||
</StackPanel>
|
</StackPanel>
|
||||||
|
|
||||||
<TextBlock Grid.Row="1" Grid.Column="0"
|
<TextBlock Grid.Row="1" Grid.Column="0"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue