Fixed logic for TabTitle that was not identifying Library Documents
This commit is contained in:
parent
7f5702698a
commit
3fc890ab52
@ -1674,10 +1674,12 @@ namespace VEPROMS.CSLA.Library
|
|||||||
get
|
get
|
||||||
{
|
{
|
||||||
if (MyContent.MyEntry == null)
|
if (MyContent.MyEntry == null)
|
||||||
|
{
|
||||||
if (DisplayNumber == string.Empty)
|
if (DisplayNumber == string.Empty)
|
||||||
return DisplayText.Replace("\u2011", "-").Split(" ,.;:-_".ToCharArray())[0] + "...";
|
return DisplayText.Replace("\u2011", "-").Split(" ,.;:-_".ToCharArray())[0] + "...";
|
||||||
return DisplayNumber.Replace("\u2011", "-");
|
return DisplayNumber.Replace("\u2011", "-");
|
||||||
if (MyContent.Number != "")
|
}
|
||||||
|
if (MyContent.Number != "") // Add LIB to the Section Number
|
||||||
return ((MyContent.MyEntry.MyDocument.LibTitle ?? "") == "" ? "" : "\u1D38\u1D35\u1D2E ") + DisplayNumber;
|
return ((MyContent.MyEntry.MyDocument.LibTitle ?? "") == "" ? "" : "\u1D38\u1D35\u1D2E ") + DisplayNumber;
|
||||||
if (MyContent.MyEntry.MyDocument.LibTitle != "")
|
if (MyContent.MyEntry.MyDocument.LibTitle != "")
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user