Change caption for select-certificate button.
This commit is contained in:
parent
c3857323b3
commit
3e6aa9b8f7
|
@ -102,7 +102,7 @@ define([
|
|||
'<table style="margin-top: 30px;">',
|
||||
'<tr>',
|
||||
'<td><label style="font-weight: bold;margin-bottom: 3px;">' + this.textCertificate + '</label></td>' +
|
||||
'<td rowspan="2" style="vertical-align: top; padding-left: 30px;"><button id="id-dlg-sign-change" class="btn btn-text-default" style="">' + this.textChange + '</button></td>',
|
||||
'<td rowspan="2" style="vertical-align: top; padding-left: 30px;"><button id="id-dlg-sign-change" class="btn btn-text-default" style="">' + this.textSelect + '</button></td>',
|
||||
'</tr>',
|
||||
'<tr><td><div id="id-dlg-sign-certificate" class="hidden" style="max-width: 212px;overflow: hidden;"></td></tr>',
|
||||
'</table>',
|
||||
|
@ -324,6 +324,7 @@ define([
|
|||
arr_date = (typeof date == 'string') ? date.split(' - ') : ['', ''];
|
||||
this.cntCertificate.html(this.templateCertificate({name: certificate.name, valid: this.textValid.replace('%1', arr_date[0]).replace('%2', arr_date[1])}));
|
||||
this.cntCertificate.toggleClass('hidden', _.isEmpty(this.certificateId) || this.certificateId<0);
|
||||
this.btnChangeCertificate.setCaption((_.isEmpty(this.certificateId) || this.certificateId<0) ? this.textSelect : this.textChange);
|
||||
this.btnOk.setDisabled(_.isEmpty(this.certificateId) || this.certificateId<0);
|
||||
},
|
||||
|
||||
|
@ -352,7 +353,8 @@ define([
|
|||
tipFontName: 'Font Name',
|
||||
tipFontSize: 'Font Size',
|
||||
textBold: 'Bold',
|
||||
textItalic: 'Italic'
|
||||
textItalic: 'Italic',
|
||||
textSelect: 'Select'
|
||||
|
||||
}, Common.Views.SignDialog || {}))
|
||||
});
|
|
@ -276,6 +276,7 @@
|
|||
"Common.Views.SignDialog.textInputName": "Input signer name",
|
||||
"Common.Views.SignDialog.textItalic": "Italic",
|
||||
"Common.Views.SignDialog.textPurpose": "Purpose for signing this document",
|
||||
"Common.Views.SignDialog.textSelect": "Select",
|
||||
"Common.Views.SignDialog.textSelectImage": "Select Image",
|
||||
"Common.Views.SignDialog.textSignature": "Signature looks as",
|
||||
"Common.Views.SignDialog.textTitle": "Sign Document",
|
||||
|
|
|
@ -199,6 +199,7 @@
|
|||
"Common.Views.SignDialog.textInputName": "Input signer name",
|
||||
"Common.Views.SignDialog.textItalic": "Italic",
|
||||
"Common.Views.SignDialog.textPurpose": "Purpose for signing this document",
|
||||
"Common.Views.SignDialog.textSelect": "Select",
|
||||
"Common.Views.SignDialog.textSelectImage": "Select Image",
|
||||
"Common.Views.SignDialog.textSignature": "Signature looks as",
|
||||
"Common.Views.SignDialog.textTitle": "Sign Document",
|
||||
|
|
|
@ -189,6 +189,7 @@
|
|||
"Common.Views.SignDialog.textInputName": "Input signer name",
|
||||
"Common.Views.SignDialog.textItalic": "Italic",
|
||||
"Common.Views.SignDialog.textPurpose": "Purpose for signing this document",
|
||||
"Common.Views.SignDialog.textSelect": "Select",
|
||||
"Common.Views.SignDialog.textSelectImage": "Select Image",
|
||||
"Common.Views.SignDialog.textSignature": "Signature looks as",
|
||||
"Common.Views.SignDialog.textTitle": "Sign Document",
|
||||
|
|
Loading…
Reference in a new issue