diff --git a/PROMS/VEPROMS.CSLA.Library/Extension/FormatExt.cs b/PROMS/VEPROMS.CSLA.Library/Extension/FormatExt.cs index c8f3eec2..acdd83d7 100644 --- a/PROMS/VEPROMS.CSLA.Library/Extension/FormatExt.cs +++ b/PROMS/VEPROMS.CSLA.Library/Extension/FormatExt.cs @@ -145,6 +145,7 @@ namespace VEPROMS.CSLA.Library get { if (ParentID == 1) return Description + " (" + Name + ")"; + if (Description.StartsWith("*")) return Description.Substring(1) + " (" + Name + ")"; return MyParent.Description + " - " + Description + " (" + Name + ")"; } } @@ -449,6 +450,7 @@ namespace VEPROMS.CSLA.Library get { if (ParentID == 1) return Description + " (" + Name + ")"; + if (Description.StartsWith("*")) return Description.Substring(1) + " (" + Name + ")"; return MyParent.Description + " - " + Description + " (" + Name + ")"; } }