diff options
| author | Victoria Plitt <Victoria.Plitt@twine-s.com> | 2023-05-29 14:30:02 +0300 |
|---|---|---|
| committer | Victoria Plitt <Victoria.Plitt@twine-s.com> | 2023-05-29 14:30:02 +0300 |
| commit | bfd64387ce0d2584bfcf2f5b31980395625634fe (patch) | |
| tree | bae6d440f2664670acede35443e264ab7d079593 /Software/Visual_Studio/PPC/Modules | |
| parent | c1d16392f2414775a2e3a1b1b948021a022e9359 (diff) | |
| download | Tango-bfd64387ce0d2584bfcf2f5b31980395625634fe.tar.gz Tango-bfd64387ce0d2584bfcf2f5b31980395625634fe.zip | |
PPC. Summary display time of job with spec. format.
Related Work Items: #8478
Diffstat (limited to 'Software/Visual_Studio/PPC/Modules')
| -rw-r--r-- | Software/Visual_Studio/PPC/Modules/Tango.PPC.JobsV2/Views/JobEurekaView.xaml | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/Software/Visual_Studio/PPC/Modules/Tango.PPC.JobsV2/Views/JobEurekaView.xaml b/Software/Visual_Studio/PPC/Modules/Tango.PPC.JobsV2/Views/JobEurekaView.xaml index efa080561..d9235a360 100644 --- a/Software/Visual_Studio/PPC/Modules/Tango.PPC.JobsV2/Views/JobEurekaView.xaml +++ b/Software/Visual_Studio/PPC/Modules/Tango.PPC.JobsV2/Views/JobEurekaView.xaml @@ -30,9 +30,10 @@ <converters:BooleanToVisibilityInverseConverter x:Key="BooleanToVisibilityInverseConverter"/> <converters:EnumToDescriptionConverter x:Key="EnumToDescriptionConverter"/> <converters:TimeSpanToMinutesConverter x:Key="TimeSpanToMinutesConverter"/> + <converters:TimeSpanToTwoDigitsTimeConverter x:Key="TimeSpanToTwoDigitsTimeConverter"/> + <converters:TimeSpanToLabelConverter x:Key="TimeSpanToLabelConverter"/> <localConverters:MarginOffsetSliderConverter x:Key="MarginOffsetSliderConverter"/> <localConverters:FirstValueCollectionConverter x:Key="FirstValueCollectionConverter"/> - <localConverters:TimeSpanToHoursConverter x:Key="TimeSpanToHoursConverter"/> <localConverters:LengthToWeightConverter x:Key="LengthToWeightConverter"/> <BitmapImage x:Key="Image_Out_Of_Gamut" UriSource="../Images/JobView/error.png" /> @@ -1231,9 +1232,9 @@ </StackPanel> <TextBlock Margin="20 0 0 0" VerticalAlignment="Center" FontSize="{StaticResource TangoDefaultFontSize}" FontWeight="SemiBold" Foreground="{StaticResource TangoDarkForegroundBrush}"> <Run Text="Duration: "></Run> - <Run Text="{Binding JobModel.GetEstimatedDuration, Converter={StaticResource TimeSpanToHoursConverter}, FallbackValue=0, Mode=OneWay,StringFormat=0.0}"></Run> - <Run Text="h"></Run> - </TextBlock> + <Run Text="{Binding JobModel.GetEstimatedDuration, Converter={StaticResource TimeSpanToTwoDigitsTimeConverter}, FallbackValue=0, Mode=OneWay}"></Run> + <Run Text="{Binding JobModel.GetEstimatedDuration, Converter={StaticResource TimeSpanToLabelConverter}, FallbackValue=min, Mode=OneWay}"></Run> + </TextBlock> </StackPanel> <StackPanel DockPanel.Dock="Left" Orientation="Horizontal" VerticalAlignment="Center" Style="{StaticResource Level1Container}"> <Image Source="../Images/JobView/job-summary.png" Width="39" /> |
