|
51 | 51 | <Rectangle Height=".65" Margin="8" Fill="{DynamicResource Brush.Border2}" VerticalAlignment="Center"/>
|
52 | 52 |
|
53 | 53 | <!-- Base Information -->
|
54 |
| - <Grid RowDefinitions="24,Auto,Auto,Auto,Auto" ColumnDefinitions="96,*"> |
| 54 | + <Grid RowDefinitions="24,Auto,Auto,Auto" ColumnDefinitions="96,*"> |
55 | 55 | <!-- SHA -->
|
56 | 56 | <TextBlock Grid.Row="0" Grid.Column="0" Classes="info_label" Text="{DynamicResource Text.CommitDetail.Info.SHA}" />
|
57 | 57 | <StackPanel Grid.Row="0" Grid.Column="1" Orientation="Horizontal">
|
|
122 | 122 | </ItemsControl.ItemTemplate>
|
123 | 123 | </ItemsControl>
|
124 | 124 |
|
125 |
| - <!-- CHILDREN --> |
126 |
| - <TextBlock Grid.Row="2" Grid.Column="0" |
127 |
| - Classes="info_label" |
128 |
| - Text="{DynamicResource Text.CommitDetail.Info.Children}" |
129 |
| - IsVisible="{Binding #ThisControl.Children.Count, Converter={x:Static c:IntConverters.IsGreaterThanZero}}"/> |
130 |
| - <ItemsControl Grid.Row="2" Grid.Column="1" |
131 |
| - Height="24" Margin="12,0,0,0" |
132 |
| - ItemsSource="{Binding #ThisControl.Children}" |
133 |
| - IsVisible="{Binding #ThisControl.Children.Count, Converter={x:Static c:IntConverters.IsGreaterThanZero}}"> |
134 |
| - <ItemsControl.ItemsPanel> |
135 |
| - <ItemsPanelTemplate> |
136 |
| - <StackPanel Orientation="Horizontal" VerticalAlignment="Center"/> |
137 |
| - </ItemsPanelTemplate> |
138 |
| - </ItemsControl.ItemsPanel> |
139 |
| - |
140 |
| - <ItemsControl.ItemTemplate> |
141 |
| - <DataTemplate> |
142 |
| - <TextBlock Classes="primary" |
143 |
| - Text="{Binding Converter={x:Static c:StringConverters.ToShortSHA}}" |
144 |
| - Foreground="DarkOrange" |
145 |
| - TextDecorations="Underline" |
146 |
| - Cursor="Hand" |
147 |
| - Margin="0,0,16,0" |
148 |
| - PointerPressed="OnSHAPressed"/> |
149 |
| - </DataTemplate> |
150 |
| - </ItemsControl.ItemTemplate> |
151 |
| - </ItemsControl> |
152 |
| - |
153 | 125 | <!-- REFS -->
|
154 |
| - <TextBlock Grid.Row="3" Grid.Column="0" Classes="info_label" Text="{DynamicResource Text.CommitDetail.Info.Refs}" IsVisible="{Binding HasDecorators}"/> |
155 |
| - <Border Grid.Row="3" Grid.Column="1" Margin="12,0,0,0" Height="24" IsVisible="{Binding HasDecorators}"> |
| 126 | + <TextBlock Grid.Row="2" Grid.Column="0" Classes="info_label" Text="{DynamicResource Text.CommitDetail.Info.Refs}" IsVisible="{Binding HasDecorators}"/> |
| 127 | + <Border Grid.Row="2" Grid.Column="1" Margin="12,0,0,0" Height="24" IsVisible="{Binding HasDecorators}"> |
156 | 128 | <v:CommitRefsPresenter TagBackground="{DynamicResource Brush.DecoratorTag}"
|
157 | 129 | Foreground="{DynamicResource Brush.FG1}"
|
158 | 130 | FontFamily="{DynamicResource Fonts.Primary}"
|
|
162 | 134 | </Border>
|
163 | 135 |
|
164 | 136 | <!-- Messages -->
|
165 |
| - <TextBlock Grid.Row="4" Grid.Column="0" Classes="info_label" Text="{DynamicResource Text.CommitDetail.Info.Message}" VerticalAlignment="Top" Margin="0,4,0,0" /> |
| 137 | + <TextBlock Grid.Row="3" Grid.Column="0" Classes="info_label" Text="{DynamicResource Text.CommitDetail.Info.Message}" VerticalAlignment="Top" Margin="0,4,0,0" /> |
166 | 138 | <v:CommitMessagePresenter Grid.Row="4" Grid.Column="1"
|
167 | 139 | Margin="12,5,8,0"
|
168 | 140 | Classes="primary"
|
|
0 commit comments