Change to sub-format titles to exclude the parent title, if the title begins with an asterisk
This commit is contained in:
parent
5614e177a1
commit
be08172cf8
@ -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 + ")";
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user