Consistent wording to refer to Working Drafts (Doc Versions)

This commit is contained in:
Rich 2015-08-04 13:00:57 +00:00
parent a9745c111a
commit 9854bc7690
3 changed files with 5 additions and 5 deletions

View File

@ -1938,7 +1938,7 @@ namespace VEPROMS
string message = string.Empty; string message = string.Empty;
if (!MySessionInfo.CanCheckOutItem(args.DocVersionConfig.MyDocVersion.VersionID, CheckOutType.DocVersion, ref message)) if (!MySessionInfo.CanCheckOutItem(args.DocVersionConfig.MyDocVersion.VersionID, CheckOutType.DocVersion, ref message))
{ {
MessageBox.Show(this, message, "Document Version Already Checked Out", MessageBoxButtons.OK, MessageBoxIcon.Warning); MessageBox.Show(this, message, "Working Draft Already Checked Out", MessageBoxButtons.OK, MessageBoxIcon.Warning);
this.Cursor = Cursors.Default; this.Cursor = Cursors.Default;
return DialogResult.None; return DialogResult.None;
} }
@ -2757,7 +2757,7 @@ namespace VEPROMS
fldbtn.Click += new EventHandler(fldbtn_Click); fldbtn.Click += new EventHandler(fldbtn_Click);
if (fi.ChildFolderCount == 0) if (fi.ChildFolderCount == 0)
{ {
ButtonItem dvbtn = new ButtonItem("dvbtn", "Document Version"); ButtonItem dvbtn = new ButtonItem("dvbtn", "Working Draft");
btnNew.SubItems.Add(dvbtn); btnNew.SubItems.Add(dvbtn);
dvbtn.Click += new EventHandler(dvbtn_Click); dvbtn.Click += new EventHandler(dvbtn_Click);
} }

View File

@ -628,7 +628,7 @@ namespace VEPROMS.CSLA.Library
} }
catch (Exception ex) catch (Exception ex)
{ {
if (!ex.Message.Contains("This document version has been deleted") && !ex.Message.Contains("This current step has been deleted in another session")) if (!ex.Message.Contains("This working draft has been deleted") && !ex.Message.Contains("This current step has been deleted in another session"))
{ {
if (_MyLog.IsErrorEnabled) _MyLog.Error("DocVersion.DataPortal_Fetch", ex); if (_MyLog.IsErrorEnabled) _MyLog.Error("DocVersion.DataPortal_Fetch", ex);
} }

View File

@ -598,7 +598,7 @@ namespace Volian.Controls.Library
OwnerInfoList.Reset(); OwnerInfoList.Reset();
oil = OwnerInfoList.GetByVersionID(dvi.VersionID); oil = OwnerInfoList.GetByVersionID(dvi.VersionID);
if (dvi.ActiveFormat.PlantFormat.FormatData.SpecificInfo) if (dvi.ActiveFormat.PlantFormat.FormatData.SpecificInfo)
cm.MenuItems.Add("Document Version Specific Information", new EventHandler(mi_Click)); cm.MenuItems.Add("Working Draft Specific Information", new EventHandler(mi_Click));
cm.MenuItems.Add("Refresh Checked Out Procedures", new EventHandler(mi_Click)); cm.MenuItems.Add("Refresh Checked Out Procedures", new EventHandler(mi_Click));
cm.MenuItems.Add("New Procedure", new EventHandler(mi_Click)); cm.MenuItems.Add("New Procedure", new EventHandler(mi_Click));
if (dvi.MultiUnitCount > 1) if (dvi.MultiUnitCount > 1)
@ -1203,7 +1203,7 @@ namespace Volian.Controls.Library
MenuItem mi = sender as MenuItem; MenuItem mi = sender as MenuItem;
if (mi == null) if (mi == null)
return; return;
if (mi.Text == "Document Version Specific Information" || mi.Text == "Folder Specific Information") if (mi.Text == "Working Draft Specific Information" || mi.Text == "Folder Specific Information")
{ {
VETreeNode tn = SelectedNode as VETreeNode; VETreeNode tn = SelectedNode as VETreeNode;
OnNodeSI(this, new vlnTreeEventArgs(tn, null, 0)); OnNodeSI(this, new vlnTreeEventArgs(tn, null, 0));