aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/PPC/Modules
diff options
context:
space:
mode:
authorVictoria Plitt <Victoria.Plitt@twine-s.com>2023-05-29 14:30:02 +0300
committerVictoria Plitt <Victoria.Plitt@twine-s.com>2023-05-29 14:30:02 +0300
commitbfd64387ce0d2584bfcf2f5b31980395625634fe (patch)
treebae6d440f2664670acede35443e264ab7d079593 /Software/Visual_Studio/PPC/Modules
parentc1d16392f2414775a2e3a1b1b948021a022e9359 (diff)
downloadTango-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.xaml9
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" />