From 4395af1008656af2b0ab5f7c2fb48725673a1a69 Mon Sep 17 00:00:00 2001 From: Julia Radzhabova Date: Tue, 30 Aug 2022 21:54:42 +0300 Subject: [PATCH] [DE] Fix form settings --- .../main/app/template/FormSettings.template | 25 +++++++++---------- .../main/app/view/FormSettings.js | 10 +++++--- apps/documenteditor/main/locale/en.json | 1 + 3 files changed, 20 insertions(+), 16 deletions(-) diff --git a/apps/documenteditor/main/app/template/FormSettings.template b/apps/documenteditor/main/app/template/FormSettings.template index 3e532db07..bf46a5a7a 100644 --- a/apps/documenteditor/main/app/template/FormSettings.template +++ b/apps/documenteditor/main/app/template/FormSettings.template @@ -40,11 +40,6 @@
- - -
- - @@ -67,6 +62,8 @@
+ + +
@@ -74,7 +71,7 @@
-
+
@@ -82,7 +79,7 @@
-
+
@@ -90,6 +87,8 @@
+
@@ -124,16 +123,16 @@
- - - @@ -184,7 +183,7 @@ - diff --git a/apps/documenteditor/main/app/view/FormSettings.js b/apps/documenteditor/main/app/view/FormSettings.js index 905e8e977..bb03b58a7 100644 --- a/apps/documenteditor/main/app/view/FormSettings.js +++ b/apps/documenteditor/main/app/view/FormSettings.js @@ -224,7 +224,7 @@ define([ this.cmbWidthRule = new Common.UI.ComboBox({ el: $markup.findById('#form-combo-width-rule'), cls: 'input-group-nr', - menuStyle: 'min-width: 85px;', + menuStyle: 'min-width: 82px;', editable: false, data: this._arrWidthRule, dataHint: '1', @@ -237,7 +237,7 @@ define([ this.spnWidth = new Common.UI.MetricSpinner({ el: $markup.findById('#form-spin-width'), step: .1, - width: 85, + width: 82, defaultUnit : "cm", value: '', allowAuto: false, @@ -1317,6 +1317,9 @@ define([ } else this._originalTextFormProps = null; + if (props.get_ComplexFormPr()) { + this.labelFormName.text(this.textComplex); + } this._noApply = false; this.KeySettingsTd.toggleClass('padding-small', !connected); @@ -1565,7 +1568,8 @@ define([ textFormatSymbols: 'Allowed Symbols', textLetters: 'Letters', textDigits: 'Digits', - textNone: 'None' + textNone: 'None', + textComplex: 'Complex Field' }, DE.Views.FormSettings || {})); }); \ No newline at end of file diff --git a/apps/documenteditor/main/locale/en.json b/apps/documenteditor/main/locale/en.json index 85027e766..6ece81050 100644 --- a/apps/documenteditor/main/locale/en.json +++ b/apps/documenteditor/main/locale/en.json @@ -1888,6 +1888,7 @@ "DE.Views.FormSettings.textLetters": "Letters", "DE.Views.FormSettings.textDigits": "Digits", "DE.Views.FormSettings.textNone": "None", + "DE.Views.FormSettings.textComplex": "Complex Field", "DE.Views.FormsTab.capBtnCheckBox": "Checkbox", "DE.Views.FormsTab.capBtnComboBox": "Combo Box", "DE.Views.FormsTab.capBtnDownloadForm": "Download as oform",
+
-
+
+
-
+
+
+