Update EnvelopeSigned page to handle confirm vs sign

Add conditional logic to EnvelopeSigned.cshtml to display different headings and confirmation messages based on whether the document was signed or confirmed, using the IsReadAndConfirm flag. This improves user feedback by distinguishing between signing and confirming actions.
This commit is contained in:
2026-03-06 01:25:07 +01:00
parent 9cfc74aa88
commit e095860b17

View File

@@ -15,9 +15,13 @@
<path d="M15.354 3.354a.5.5 0 0 0-.708-.708L8 9.293 5.354 6.646a.5.5 0 1 0-.708.708l3 3a.5.5 0 0 0 .708 0l7-7z" />
</svg>
</div>
<h1>@(_localizer["DocumentSuccessfullySigned"])</h1>
<h1>@(IsReadAndConfirm
? _localizer["DocumentSuccessfullySigned"]
: _localizer["DocumentSuccessfullyConfirmed"])</h1>
</header>
<section class="text-center">
<p>@(_localizer["DocumentSignedConfirmationMessage"])</p>
<p>@(IsReadAndConfirm
? _localizer["DocumentSignedConfirmationMessage"]
: _localizer["DocumentConfirmedConfirmationMessage"])</p>
</section>
</div>