Change to sub-format titles to exclude the parent title, if the title begins with an asterisk

This commit is contained in:
Rich committed 2014-09-15 18:11:42 +00:00
1 parent 5614e177a1
commit be08172cf8
1 file changed
+2
@@ -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 + ")";
}
}