mirror of
https://github.com/sourcegit-scm/sourcegit
synced 2025-06-16 16:05:00 +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">
|
||||
<Path Width="14" Height="14" Margin="4,0" Data="{StaticResource Icons.Branch}"/>
|
||||
<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>
|
||||
|
||||
<TextBlock Grid.Row="1" Grid.Column="0"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue