web/admin: add note that attributes are yaml/json
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
This commit is contained in:
parent
e7346317bb
commit
23f269d676
|
@ -2072,8 +2072,8 @@ msgid "Optional URL if the IDP supports Single-Logout."
|
|||
msgstr "Optional URL if the IDP supports Single-Logout."
|
||||
|
||||
#: src/pages/stages/invitation/InvitationForm.ts:55
|
||||
msgid "Optional data which is loaded into the flow's 'prompt_data' context variable."
|
||||
msgstr "Optional data which is loaded into the flow's 'prompt_data' context variable."
|
||||
msgid "Optional data which is loaded into the flow's 'prompt_data' context variable. YAML or JSON."
|
||||
msgstr "Optional data which is loaded into the flow's 'prompt_data' context variable. YAML or JSON."
|
||||
|
||||
#: src/pages/stages/identification/IdentificationStageForm.ts:119
|
||||
msgid "Optional enrollment flow, which is linked at the bottom of the page."
|
||||
|
@ -2686,6 +2686,14 @@ msgstr "Set HTTP-Basic Authentication"
|
|||
msgid "Set a custom HTTP-Basic Authentication header based on values from authentik."
|
||||
msgstr "Set a custom HTTP-Basic Authentication header based on values from authentik."
|
||||
|
||||
#: src/pages/groups/GroupForm.ts:100
|
||||
#: src/pages/outposts/OutpostForm.ts:109
|
||||
#: src/pages/outposts/ServiceConnectionKubernetesForm.ts:73
|
||||
#: src/pages/policies/PolicyTestForm.ts:78
|
||||
#: src/pages/users/UserForm.ts:81
|
||||
msgid "Set custom attributes using YAML or JSON."
|
||||
msgstr "Set custom attributes using YAML or JSON."
|
||||
|
||||
#: src/pages/events/RuleForm.ts:96
|
||||
#: src/pages/events/RuleListPage.ts:48
|
||||
msgid "Severity"
|
||||
|
|
|
@ -2068,7 +2068,7 @@ msgid "Optional URL if the IDP supports Single-Logout."
|
|||
msgstr ""
|
||||
|
||||
#: src/pages/stages/invitation/InvitationForm.ts:55
|
||||
msgid "Optional data which is loaded into the flow's 'prompt_data' context variable."
|
||||
msgid "Optional data which is loaded into the flow's 'prompt_data' context variable. YAML or JSON."
|
||||
msgstr ""
|
||||
|
||||
#: src/pages/stages/identification/IdentificationStageForm.ts:119
|
||||
|
@ -2682,6 +2682,14 @@ msgstr ""
|
|||
msgid "Set a custom HTTP-Basic Authentication header based on values from authentik."
|
||||
msgstr ""
|
||||
|
||||
#: src/pages/groups/GroupForm.ts:100
|
||||
#: src/pages/outposts/OutpostForm.ts:109
|
||||
#: src/pages/outposts/ServiceConnectionKubernetesForm.ts:73
|
||||
#: src/pages/policies/PolicyTestForm.ts:78
|
||||
#: src/pages/users/UserForm.ts:81
|
||||
msgid "Set custom attributes using YAML or JSON."
|
||||
msgstr ""
|
||||
|
||||
#: src/pages/events/RuleForm.ts:96
|
||||
#: src/pages/events/RuleListPage.ts:48
|
||||
msgid "Severity"
|
||||
|
|
|
@ -91,6 +91,7 @@ export class GroupForm extends Form<Group> {
|
|||
name="attributes">
|
||||
<ak-codemirror mode="yaml" value="${YAML.stringify(this.group?.attributes)}">
|
||||
</ak-codemirror>
|
||||
<p class="pf-c-form__helper-text">${t`Set custom attributes using YAML or JSON.`}</p>
|
||||
</ak-form-element-horizontal>
|
||||
</form>`;
|
||||
}
|
||||
|
|
|
@ -100,6 +100,7 @@ export class OutpostForm extends Form<Outpost> {
|
|||
label=${t`Configuration`}
|
||||
name="config">
|
||||
<ak-codemirror mode="yaml" value="${YAML.stringify(fc)}"></ak-codemirror>
|
||||
<p class="pf-c-form__helper-text">${t`Set custom attributes using YAML or JSON.`}</p>
|
||||
</ak-form-element-horizontal>`;
|
||||
}))}
|
||||
</form>`;
|
||||
|
|
|
@ -67,6 +67,7 @@ export class ServiceConnectionKubernetesForm extends Form<KubernetesServiceConne
|
|||
name="kubeconfig">
|
||||
<ak-codemirror mode="yaml" value="${YAML.stringify(this.sc?.kubeconfig)}">
|
||||
</ak-codemirror>
|
||||
<p class="pf-c-form__helper-text">${t`Set custom attributes using YAML or JSON.`}</p>
|
||||
</ak-form-element-horizontal>
|
||||
</form>`;
|
||||
}
|
||||
|
|
|
@ -77,6 +77,7 @@ export class PolicyTestForm extends Form<PolicyTest> {
|
|||
name="context">
|
||||
<ak-codemirror mode="yaml">
|
||||
</ak-codemirror>
|
||||
<p class="pf-c-form__helper-text">${t`Set custom attributes using YAML or JSON.`}</p>
|
||||
</ak-form-element-horizontal>
|
||||
${this.result ? this.renderResult(): html``}
|
||||
</form>`;
|
||||
|
|
|
@ -48,7 +48,7 @@ export class InvitationForm extends Form<Invitation> {
|
|||
name="fixedData">
|
||||
<ak-codemirror mode="yaml" value="${YAML.stringify(this.invitation?.fixedData)}">
|
||||
</ak-codemirror>
|
||||
<p class="pf-c-form__helper-text">${t`Optional data which is loaded into the flow's 'prompt_data' context variable.`}</p>
|
||||
<p class="pf-c-form__helper-text">${t`Optional data which is loaded into the flow's 'prompt_data' context variable. YAML or JSON.`}</p>
|
||||
</ak-form-element-horizontal>
|
||||
</form>`;
|
||||
}
|
||||
|
|
|
@ -74,6 +74,7 @@ export class UserForm extends Form<User> {
|
|||
name="attributes">
|
||||
<ak-codemirror mode="yaml" value="${YAML.stringify(this.user?.attributes)}">
|
||||
</ak-codemirror>
|
||||
<p class="pf-c-form__helper-text">${t`Set custom attributes using YAML or JSON.`}</p>
|
||||
</ak-form-element-horizontal>
|
||||
</form>`;
|
||||
}
|
||||
|
|
Reference in New Issue