diff options
| author | Roy Ben Shabat <Roy.mail.net@gmail.com> | 2021-01-06 01:21:25 +0200 |
|---|---|---|
| committer | Roy Ben Shabat <Roy.mail.net@gmail.com> | 2021-01-06 01:21:25 +0200 |
| commit | df75a54ce026aeefabb007c2caee7c4f2c2d6302 (patch) | |
| tree | c83adeb7cae6f22623f776de43601f4d56353663 /Software | |
| parent | 906c89155cc8869a9067fe962f206841f3e89109 (diff) | |
| download | Tango-df75a54ce026aeefabb007c2caee7c4f2c2d6302.tar.gz Tango-df75a54ce026aeefabb007c2caee7c4f2c2d6302.zip | |
Environment display hidden on BETA environment.
Added environment display to Technician Module => System.
Diffstat (limited to 'Software')
| -rw-r--r-- | Software/Visual_Studio/PPC/Modules/Tango.PPC.Technician/Views/SystemView.xaml | 14 | ||||
| -rw-r--r-- | Software/Visual_Studio/PPC/Tango.PPC.UI/Views/LayoutView.xaml | 3 |
2 files changed, 17 insertions, 0 deletions
diff --git a/Software/Visual_Studio/PPC/Modules/Tango.PPC.Technician/Views/SystemView.xaml b/Software/Visual_Studio/PPC/Modules/Tango.PPC.Technician/Views/SystemView.xaml index 52abfc239..6ac4cfe80 100644 --- a/Software/Visual_Studio/PPC/Modules/Tango.PPC.Technician/Views/SystemView.xaml +++ b/Software/Visual_Studio/PPC/Modules/Tango.PPC.Technician/Views/SystemView.xaml @@ -134,6 +134,20 @@ <TableRow> <TableCell> <Paragraph> + <TextBlock>Environment:</TextBlock> + </Paragraph> + </TableCell> + + <TableCell> + <Paragraph> + <TextBlock Text="{Binding Settings.DeploymentSlot,Converter={StaticResource EnumToDescriptionConverter},Mode=OneWay,TargetNullValue='N/A',FallbackValue='N/A'}"/> + </Paragraph> + </TableCell> + </TableRow> + + <TableRow> + <TableCell> + <Paragraph> <TextBlock>Application Version:</TextBlock> </Paragraph> </TableCell> diff --git a/Software/Visual_Studio/PPC/Tango.PPC.UI/Views/LayoutView.xaml b/Software/Visual_Studio/PPC/Tango.PPC.UI/Views/LayoutView.xaml index 3e1f50e41..5a1af11e6 100644 --- a/Software/Visual_Studio/PPC/Tango.PPC.UI/Views/LayoutView.xaml +++ b/Software/Visual_Studio/PPC/Tango.PPC.UI/Views/LayoutView.xaml @@ -56,6 +56,9 @@ <DataTrigger Binding="{Binding Settings.DeploymentSlot}" Value="PROD"> <Setter Property="Visibility" Value="Collapsed"></Setter> </DataTrigger> + <DataTrigger Binding="{Binding Settings.DeploymentSlot}" Value="BETA"> + <Setter Property="Visibility" Value="Collapsed"></Setter> + </DataTrigger> </Style.Triggers> </Style> </TextBlock.Style> |
