C2019-029: remove UCF derived from format name in format lists.

This commit is contained in:
Kathy Ruffing 2019-07-30 14:40:25 +00:00
parent ab656a0876
commit c6f615bceb

View File

@ -161,6 +161,8 @@ namespace VEPROMS.CSLA.Library
{
if (ParentID == 1) return Description + " (" + Name + ")";
if (Description.StartsWith("*")) return Description.Substring(1) + " (" + Name + ")";
// C2019-029: if UCF, just use description & name, using parent is confusing
if (Config != null && Config != "") return Description + " (" + Name + ")";
return MyParent.Description + " - " + Description + " (" + Name + ")";
}
}
@ -600,6 +602,8 @@ namespace VEPROMS.CSLA.Library
{
if (ParentID == 1) return Description + " (" + Name + ")";
if (Description.StartsWith("*")) return Description.Substring(1) + " (" + Name + ")";
// C2019-029: if UCF, just use description & name, using parent is confusing
if (Config != null && Config != "") return Description + " (" + Name + ")";
return MyParent.Description + " - " + Description + " (" + Name + ")";
}
}