|
155 | 155 | <Rectangle Grid.Column="1" Margin="5" Width="1" Height="12" VerticalAlignment="Top" Style="{DynamicResource Separator}" /> |
156 | 156 |
|
157 | 157 | <!-- Checkout pull request button --> |
158 | | - <!-- |
159 | 158 | <ui:GitHubActionLink Command="{Binding Checkout}" |
160 | 159 | Content="{Binding CheckoutState.Caption}" |
161 | 160 | Grid.Column="2" |
|
164 | 163 | Visibility="{Binding CheckoutState, Converter={ui:NullToVisibilityConverter}}" |
165 | 164 | ToolTip="{Binding CheckoutState.ToolTip}" |
166 | 165 | ToolTipService.ShowOnDisabled="True"/> |
167 | | - --> |
168 | 166 |
|
169 | 167 | <!-- Pull/push buttons --> |
170 | | - <StackPanel Grid.Column="2" Orientation="Horizontal" VerticalAlignment="Center"> |
171 | | - <!-- |
172 | 168 | <StackPanel Grid.Column="2" Orientation="Horizontal" VerticalAlignment="Center" |
173 | 169 | Visibility="{Binding UpdateState.UpToDate, FallbackValue=Collapsed, Converter={ui:BooleanToInverseVisibilityConverter}}"> |
174 | | - --> |
175 | 170 | <ui:OcticonImage Icon="arrow_down"/> |
176 | 171 | <TextBlock Text="{Binding UpdateState.CommitsBehind}" VerticalAlignment="Center"/> |
177 | 172 | <ui:GitHubActionLink Content="Pull" |
|
181 | 176 | ToolTipService.ShowOnDisabled="True" |
182 | 177 | VerticalAlignment="Center"/> |
183 | 178 | <ui:OcticonImage Icon="arrow_up"/> |
184 | | - <TextBlock Text="5" VerticalAlignment="Center"/> |
185 | | - <!-- |
186 | 179 | <TextBlock Text="{Binding UpdateState.CommitsAhead}" VerticalAlignment="Center"/> |
187 | | - --> |
188 | 180 | <ui:GitHubActionLink Content="Push" |
189 | 181 | Command="{Binding Push}" |
190 | 182 | Margin="4,0" |
|
193 | 185 | VerticalAlignment="Center"/> |
194 | 186 | <!-- Sync submodules --> |
195 | 187 | <ui:OcticonImage Icon="package"/> |
196 | | - <TextBlock Text="4" Margin="4 0 0 0" VerticalAlignment="Center"/> |
197 | | - <!-- |
198 | | - <TextBlock Text="{Binding UpdateState.SubmodulesToSync}" VerticalAlignment="Center"/> |
199 | | - --> |
200 | | - <ui:GitHubActionLink Content="Sync" |
201 | | - Command="{Binding SyncSubmodules}" |
202 | | - Margin="4 0" /> |
203 | | - <!-- |
204 | | - <ui:GitHubActionLink Content="Sync" |
205 | | - Command="{Binding SyncSubmodules}" |
206 | | - Margin="4 0" |
207 | | - Visibility="{Binding UpdateState.SyncSubmodulesEnabled, FallbackValue=Collapsed, Converter={ui:BooleanToVisibilityConverter}}" /> |
208 | | - --> |
209 | | - <!-- |
| 188 | + <TextBlock Margin="4 0 0 0" Text="{Binding UpdateState.SubmodulesToSync}" VerticalAlignment="Center"/> |
210 | 189 | <ui:GitHubActionLink Content="Sync" |
211 | 190 | Command="{Binding SyncSubmodules}" |
212 | 191 | Margin="4 0" |
213 | 192 | Visibility="{Binding UpdateState.SyncSubmodulesEnabled, FallbackValue=Collapsed, Converter={ui:BooleanToVisibilityConverter}}" /> |
214 | | - --> |
215 | 193 | </StackPanel> |
216 | 194 |
|
217 | 195 | <!-- Branch checked out and up-to-date --> |
|
0 commit comments