web/admin: improve ldap form

Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
This commit is contained in:
Jens Langhammer 2021-06-08 09:31:36 +02:00
parent dab5f4c768
commit d9ffb23a80
3 changed files with 18 additions and 1 deletions

View File

@ -354,6 +354,10 @@ msgstr "Backends"
msgid "Background"
msgstr "Background"
#: src/flows/FlowExecutor.ts
msgid "Background image"
msgstr "Background image"
#: src/pages/flows/FlowForm.ts
#: src/pages/flows/FlowForm.ts
#: src/pages/flows/FlowImportForm.ts
@ -3845,6 +3849,10 @@ msgstr "Timeout"
msgid "Title"
msgstr "Title"
#: src/pages/sources/ldap/LDAPSourceForm.ts
msgid "To use SSL instead, use 'ldaps://' and disable this option."
msgstr "To use SSL instead, use 'ldaps://' and disable this option."
#: src/pages/tokens/TokenListPage.ts
#: src/pages/user-settings/tokens/UserTokenList.ts
msgid "Token"

View File

@ -350,6 +350,10 @@ msgstr ""
msgid "Background"
msgstr ""
#:
msgid "Background image"
msgstr ""
#:
#:
#:
@ -3833,6 +3837,10 @@ msgstr ""
msgid "Title"
msgstr ""
#:
msgid "To use SSL instead, use 'ldaps://' and disable this option."
msgstr ""
#:
#:
msgid "Token"

View File

@ -96,7 +96,7 @@ export class LDAPSourceForm extends ModelForm<LDAPSource, string> {
label=${t`Server URI`}
?required=${true}
name="serverUri">
<input type="text" value="${ifDefined(this.instance?.serverUri)}" class="pf-c-form-control" required>
<input type="text" placeholder="ldap://1.2.3.4" value="${ifDefined(this.instance?.serverUri)}" class="pf-c-form-control" required>
</ak-form-element-horizontal>
<ak-form-element-horizontal name="startTls">
<div class="pf-c-check">
@ -105,6 +105,7 @@ export class LDAPSourceForm extends ModelForm<LDAPSource, string> {
${t`Enable StartTLS`}
</label>
</div>
<p class="pf-c-form__helper-text">${t`To use SSL instead, use 'ldaps://' and disable this option.`}</p>
</ak-form-element-horizontal>
<ak-form-element-horizontal
label=${t`Bind CN`}