This commit is contained in:
parent
2e82f020f1
commit
697920e417
@ -1567,6 +1567,11 @@ namespace VEPROMS.CSLA.Library
|
|||||||
return DisplayNumber.Replace("\u2011","-");
|
return DisplayNumber.Replace("\u2011","-");
|
||||||
if (MyContent.Number != "")
|
if (MyContent.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 (DisplayText.Length <= 7) return "\u1D38\u1D35\u1D2E " + DisplayText.Replace("\u2011", "-");
|
||||||
|
return "\u1D38\u1D35\u1D2E " + DisplayText.Replace("\u2011", "-").Split(" ,.;:-_".ToCharArray())[0] + "...";
|
||||||
|
}
|
||||||
if (DisplayText.Length <= 10)
|
if (DisplayText.Length <= 10)
|
||||||
return DisplayText.Replace("\u2011", "-");
|
return DisplayText.Replace("\u2011", "-");
|
||||||
return DisplayText.Replace("\u2011", "-").Split(" ,.;:-_".ToCharArray())[0]+ "...";
|
return DisplayText.Replace("\u2011", "-").Split(" ,.;:-_".ToCharArray())[0]+ "...";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user