mirror of
https://github.com/sourcegit-scm/sourcegit
synced 2025-05-30 00:24:59 +00:00
code_review: PR #673
* add translations for zh_CN and zh_TW * hide `CHILDREN` line if it is empty Signed-off-by: leo <longshuang@msn.cn>
This commit is contained in:
parent
055835cac2
commit
bbac6c1478
3 changed files with 10 additions and 2 deletions
|
@ -123,8 +123,14 @@
|
|||
</ItemsControl>
|
||||
|
||||
<!-- CHILDREN -->
|
||||
<TextBlock Grid.Row="2" Grid.Column="0" Classes="info_label" Text="{DynamicResource Text.CommitDetail.Info.Children}"/>
|
||||
<ItemsControl Grid.Row="2" Grid.Column="1" Height="24" Margin="12,0,0,0" ItemsSource="{Binding #ThisControl.Children}" IsVisible="{Binding #ThisControl.Children.Count, Converter={x:Static c:IntConverters.IsGreaterThanZero}}">
|
||||
<TextBlock Grid.Row="2" Grid.Column="0"
|
||||
Classes="info_label"
|
||||
Text="{DynamicResource Text.CommitDetail.Info.Children}"
|
||||
IsVisible="{Binding #ThisControl.Children.Count, Converter={x:Static c:IntConverters.IsGreaterThanZero}}"/>
|
||||
<ItemsControl Grid.Row="2" Grid.Column="1"
|
||||
Height="24" Margin="12,0,0,0"
|
||||
ItemsSource="{Binding #ThisControl.Children}"
|
||||
IsVisible="{Binding #ThisControl.Children.Count, Converter={x:Static c:IntConverters.IsGreaterThanZero}}">
|
||||
<ItemsControl.ItemsPanel>
|
||||
<ItemsPanelTemplate>
|
||||
<StackPanel Orientation="Horizontal" VerticalAlignment="Center"/>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue