mirror of
https://github.com/goauthentik/authentik
synced 2026-04-27 09:57:31 +02:00
minor unrelated fix: alignment in table desc
Signed-off-by: Jens Langhammer <jens@goauthentik.io>
This commit is contained in:
committed by
Teffen Ellis
parent
011f780b83
commit
e7fcfb7e67
@@ -127,11 +127,15 @@ export class BoundStagesList extends Table<FlowStageBinding> {
|
|||||||
|
|
||||||
protected override renderExpanded(item: FlowStageBinding): TemplateResult {
|
protected override renderExpanded(item: FlowStageBinding): TemplateResult {
|
||||||
return html`<div class="pf-c-content">
|
return html`<div class="pf-c-content">
|
||||||
<p>${msg("These bindings control if this stage will be applied to the flow.")}</p>
|
|
||||||
<ak-bound-policies-list
|
<ak-bound-policies-list
|
||||||
.target=${item.policybindingmodelPtrId}
|
.target=${item.policybindingmodelPtrId}
|
||||||
.policyEngineMode=${item.policyEngineMode}
|
.policyEngineMode=${item.policyEngineMode}
|
||||||
>
|
>
|
||||||
|
<span slot="description"
|
||||||
|
>${msg(
|
||||||
|
"These bindings control if this stage will be applied to the flow.",
|
||||||
|
)}</span
|
||||||
|
>
|
||||||
</ak-bound-policies-list>
|
</ak-bound-policies-list>
|
||||||
</div>`;
|
</div>`;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -242,10 +242,15 @@ export class BoundPoliciesList<T extends PolicyBinding = PolicyBinding> extends
|
|||||||
if (policyEngineMode === undefined) {
|
if (policyEngineMode === undefined) {
|
||||||
return nothing;
|
return nothing;
|
||||||
}
|
}
|
||||||
return html`<p class="policy-desc">
|
return html`${this.findSlotted("description")
|
||||||
${msg(str`The currently selected policy engine mode is ${policyEngineMode.label}:`)}
|
? html`<p class="policy-desc">
|
||||||
${policyEngineMode.description}
|
<slot name="description"></slot>
|
||||||
</p>`;
|
</p>`
|
||||||
|
: nothing}
|
||||||
|
<p class="policy-desc">
|
||||||
|
${msg(str`The currently selected policy engine mode is ${policyEngineMode.label}:`)}
|
||||||
|
${policyEngineMode.description}
|
||||||
|
</p>`;
|
||||||
}
|
}
|
||||||
|
|
||||||
renderToolbarContainer(): SlottedTemplateResult {
|
renderToolbarContainer(): SlottedTemplateResult {
|
||||||
|
|||||||
Reference in New Issue
Block a user