From 1da2b8e87c29cfed356f02dfcfd9aab19f702c8c Mon Sep 17 00:00:00 2001 From: mschill Date: Thu, 7 Nov 2024 09:13:40 -0500 Subject: [PATCH] B2024-064 Improve user experience by providing more descriptive wording when cannot change the Applicability of a Step/Section. --- PROMS/Volian.Controls.Library/DisplayApplicability.cs | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/PROMS/Volian.Controls.Library/DisplayApplicability.cs b/PROMS/Volian.Controls.Library/DisplayApplicability.cs index 56e270b2..51947f06 100644 --- a/PROMS/Volian.Controls.Library/DisplayApplicability.cs +++ b/PROMS/Volian.Controls.Library/DisplayApplicability.cs @@ -236,7 +236,11 @@ namespace Volian.Controls.Library else { StringBuilder sb = new StringBuilder(); - sb.AppendLine("Changing the applicability for this step will invalidate a transition in the following steps..."); + string tmpwrd = MyItemInfo.IsSection ? "section" : "step"; + sb.AppendLine($"The applicability for this {tmpwrd} cannot be changed due to transition links."); + sb.AppendLine("Applicability settings will return to original settings when OK is selected."); + sb.AppendLine($"Changing the applicability for this {tmpwrd} will invalidate a transition in the following steps..."); + sb.AppendLine(); // B2021-149: if step, put out line for every invalidTrans, if procedure only put out those that are external // determine this by looking strings for source and target (to), if procedure level and internal the target starts -- 2.47.2