feat(ShowEnvelope): Wenn ReadOnly, machen Sie die Kopfzeile ViewDoc anstelle von SignDoc.
- ViewDoc-Schlüssel zu resx in beiden Sprachen hinzugefügt
This commit is contained in:
parent
7ff787ec28
commit
35d6beb3cb
@ -213,6 +213,9 @@
|
|||||||
<data name="UnexpectedError" xml:space="preserve">
|
<data name="UnexpectedError" xml:space="preserve">
|
||||||
<value>Ein unerwarteter Fehler ist aufgetreten.</value>
|
<value>Ein unerwarteter Fehler ist aufgetreten.</value>
|
||||||
</data>
|
</data>
|
||||||
|
<data name="ViewDoc" xml:space="preserve">
|
||||||
|
<value>Dokument ansehen</value>
|
||||||
|
</data>
|
||||||
<data name="WelcomeToTheESignPortal" xml:space="preserve">
|
<data name="WelcomeToTheESignPortal" xml:space="preserve">
|
||||||
<value>Herzlich willkommen im eSign-Portal</value>
|
<value>Herzlich willkommen im eSign-Portal</value>
|
||||||
</data>
|
</data>
|
||||||
|
|||||||
@ -213,6 +213,9 @@
|
|||||||
<data name="UnexpectedError" xml:space="preserve">
|
<data name="UnexpectedError" xml:space="preserve">
|
||||||
<value>An unexpected error has occurred.</value>
|
<value>An unexpected error has occurred.</value>
|
||||||
</data>
|
</data>
|
||||||
|
<data name="ViewDoc" xml:space="preserve">
|
||||||
|
<value>View document</value>
|
||||||
|
</data>
|
||||||
<data name="WelcomeToTheESignPortal" xml:space="preserve">
|
<data name="WelcomeToTheESignPortal" xml:space="preserve">
|
||||||
<value>Welcome to the eSign portal</value>
|
<value>Welcome to the eSign portal</value>
|
||||||
</data>
|
</data>
|
||||||
|
|||||||
@ -9,9 +9,6 @@
|
|||||||
@using Newtonsoft.Json
|
@using Newtonsoft.Json
|
||||||
@using Newtonsoft.Json.Serialization
|
@using Newtonsoft.Json.Serialization
|
||||||
@model EnvelopeReceiverDto;
|
@model EnvelopeReceiverDto;
|
||||||
@{
|
|
||||||
ViewData["Title"] = _localizer[WebKey.SignDoc];
|
|
||||||
}
|
|
||||||
<partial name="_CookieConsentPartial" />
|
<partial name="_CookieConsentPartial" />
|
||||||
@{
|
@{
|
||||||
var userCulture = ViewData["UserCulture"] as Culture;
|
var userCulture = ViewData["UserCulture"] as Culture;
|
||||||
@ -26,6 +23,8 @@
|
|||||||
var isReadOnly = false;
|
var isReadOnly = false;
|
||||||
if (ViewData["IsReadOnly"] is bool isReadOnly_bool)
|
if (ViewData["IsReadOnly"] is bool isReadOnly_bool)
|
||||||
isReadOnly = isReadOnly_bool;
|
isReadOnly = isReadOnly_bool;
|
||||||
|
|
||||||
|
ViewData["Title"] = isReadOnly ? _localizer[WebKey.ViewDoc] : _localizer[WebKey.SignDoc];
|
||||||
}
|
}
|
||||||
<div class="envelope-view">
|
<div class="envelope-view">
|
||||||
@if (!isReadOnly)
|
@if (!isReadOnly)
|
||||||
|
|||||||
@ -34,5 +34,6 @@
|
|||||||
public static readonly string RejectionInfo2_ext = nameof(RejectionInfo2_ext);
|
public static readonly string RejectionInfo2_ext = nameof(RejectionInfo2_ext);
|
||||||
public static readonly string SigningProcessTitle = nameof(SigningProcessTitle);
|
public static readonly string SigningProcessTitle = nameof(SigningProcessTitle);
|
||||||
public static readonly string WelcomeToTheESignPortal = nameof(WelcomeToTheESignPortal);
|
public static readonly string WelcomeToTheESignPortal = nameof(WelcomeToTheESignPortal);
|
||||||
|
public static readonly string ViewDoc = nameof(ViewDoc);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Loading…
x
Reference in New Issue
Block a user