diff --git a/src/BreCalClient/ShipcallControl.xaml b/src/BreCalClient/ShipcallControl.xaml index 5337a62..9e8de35 100644 --- a/src/BreCalClient/ShipcallControl.xaml +++ b/src/BreCalClient/ShipcallControl.xaml @@ -132,7 +132,7 @@ - + @@ -150,7 +150,7 @@ - + @@ -167,7 +167,7 @@ - + @@ -184,7 +184,7 @@ - + diff --git a/src/BreCalClient/ShipcallControl.xaml.cs b/src/BreCalClient/ShipcallControl.xaml.cs index 33fd6e2..4c35c5a 100644 --- a/src/BreCalClient/ShipcallControl.xaml.cs +++ b/src/BreCalClient/ShipcallControl.xaml.cs @@ -328,6 +328,13 @@ namespace BreCalClient } Times? mooringTimes = this.ShipcallControlModel?.GetTimesForParticipantType(Extensions.ParticipantType.MOORING); + + // here dynamically add and remove the lock icon defined as such to the correct grid cell + // + // Grid.SetRow(1 + // gridMooring.Children.Add(.) + // NO MUCH BETTER WE PUT THE ICON IN and just set the visibility TO HIDDEN!!! + if (mooringTimes != null) {