Added a message to the release text which identifies when a format is changed.
This commit is contained in:
parent
7d1441c999
commit
9efdfd46c7
@ -476,6 +476,12 @@ namespace Sync
|
|||||||
AddText(rtb, fntBoldItalic, "*\tThis change includes format changes\r\n\twhich must be loaded into the databases.",Color.Orange);
|
AddText(rtb, fntBoldItalic, "*\tThis change includes format changes\r\n\twhich must be loaded into the databases.",Color.Orange);
|
||||||
AddText(rtb, fntNormal, "\r\n\r\n",Color.Black);
|
AddText(rtb, fntNormal, "\r\n\r\n",Color.Black);
|
||||||
}
|
}
|
||||||
|
if (HasFormats(_CheckedOut))
|
||||||
|
{
|
||||||
|
sb.Append("* This change includes format changes which must be loaded into the databases.\r\n\r\n");
|
||||||
|
AddText(rtb, fntBoldItalic, "*\tThis change includes format changes\r\n\twhich must be loaded into the databases.", Color.Orange);
|
||||||
|
AddText(rtb, fntNormal, "\r\n\r\n", Color.Black);
|
||||||
|
}
|
||||||
if (HasPromsFixes(_CheckedOut))
|
if (HasPromsFixes(_CheckedOut))
|
||||||
{
|
{
|
||||||
sb.Append("* This change includes changes to PROMSFixes.SQL which must be loaded into the databases.\r\n\r\n");
|
sb.Append("* This change includes changes to PROMSFixes.SQL which must be loaded into the databases.\r\n\r\n");
|
||||||
@ -577,6 +583,15 @@ namespace Sync
|
|||||||
}
|
}
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
private bool HasFormats(List<FileCompare> _CheckedOut)
|
||||||
|
{
|
||||||
|
foreach (FileCompare fc in _CheckedOut)
|
||||||
|
{
|
||||||
|
if (fc.ToProcess && fc.FileName.ToLower().Contains("\\formats\\"))
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
return false;
|
||||||
|
}
|
||||||
private void AddIndent(RichTextBox rtb)
|
private void AddIndent(RichTextBox rtb)
|
||||||
{
|
{
|
||||||
rtb.Select(rtb.TextLength, 0);
|
rtb.Select(rtb.TextLength, 0);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user