Swapped the display logic for localized titles and messages based on the IsReadAndConfirm flag. Now, "confirmed" texts are shown when IsReadAndConfirm is true, and "signed" texts when false. This update ensures correct status messaging throughout the envelope confirmation flow.
27 lines
1.2 KiB
Plaintext
27 lines
1.2 KiB
Plaintext
@{
|
|
@using EnvelopeGenerator.Application.Common.Dto.EnvelopeReceiver;
|
|
@using EnvelopeGenerator.Domain.Interfaces;
|
|
@model EnvelopeReceiverDto;
|
|
bool IsReadAndConfirm = Model!.Envelope!.IsReadAndConfirm();
|
|
ViewData["Title"] = IsReadAndConfirm
|
|
? _localizer.DocConfirmed()
|
|
: _localizer.DocSigned();
|
|
}
|
|
<div class="page container p-5">
|
|
<header class="text-center">
|
|
<div class="icon signed">
|
|
<svg xmlns="http://www.w3.org/2000/svg" width="72" height="72" fill="currentColor" class="bi bi-check2-circle" viewBox="0 0 16 16">
|
|
<path d="M2.5 8a5.5 5.5 0 0 1 8.25-4.764.5.5 0 0 0 .5-.866A6.5 6.5 0 1 0 14.5 8a.5.5 0 0 0-1 0 5.5 5.5 0 1 1-11 0z" />
|
|
<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>@(IsReadAndConfirm
|
|
? _localizer["DocumentSuccessfullyConfirmed"]
|
|
: _localizer["DocumentSuccessfullySigned"])</h1>
|
|
</header>
|
|
<section class="text-center">
|
|
<p>@(IsReadAndConfirm
|
|
? _localizer["DocumentConfirmedConfirmationMessage"]
|
|
: _localizer["DocumentSignedConfirmationMessage"])</p>
|
|
</section>
|
|
</div> |