mirror of
https://github.com/ansible/awx.git
synced 2026-02-16 10:40:01 -03:30
Add headingLevels to Title, minor improvements
Signed-off-by: Vadiem Janssens <info@vadiemjanssens.nl>
This commit is contained in:
committed by
John Mitchell
parent
12b87fca8c
commit
c9cfaf65a0
@@ -555,7 +555,7 @@ function JobTemplateForm({
|
|||||||
<SubFormLayout>
|
<SubFormLayout>
|
||||||
{allowCallbacks && (
|
{allowCallbacks && (
|
||||||
<>
|
<>
|
||||||
<Title size="md">
|
<Title size="md" headingLevel="h4">
|
||||||
{i18n._(t`Provisioning Callback details`)}
|
{i18n._(t`Provisioning Callback details`)}
|
||||||
</Title>
|
</Title>
|
||||||
<FormColumnLayout>
|
<FormColumnLayout>
|
||||||
@@ -580,13 +580,14 @@ function JobTemplateForm({
|
|||||||
}
|
}
|
||||||
/>
|
/>
|
||||||
</FormColumnLayout>
|
</FormColumnLayout>
|
||||||
|
|
||||||
<br />
|
|
||||||
</>
|
</>
|
||||||
)}
|
)}
|
||||||
|
|
||||||
|
{allowCallbacks && enableWebhooks && (<br />)}
|
||||||
|
|
||||||
{enableWebhooks && (
|
{enableWebhooks && (
|
||||||
<>
|
<>
|
||||||
<Title size="md">{i18n._(t`Webhook details`)}</Title>
|
<Title size="md" headingLevel="h4">{i18n._(t`Webhook details`)}</Title>
|
||||||
<FormColumnLayout>
|
<FormColumnLayout>
|
||||||
<WebhookSubForm
|
<WebhookSubForm
|
||||||
enableWebhooks={enableWebhooks}
|
enableWebhooks={enableWebhooks}
|
||||||
|
|||||||
@@ -215,15 +215,13 @@ function WorkflowJobTemplateForm({
|
|||||||
</FormGroup>
|
</FormGroup>
|
||||||
|
|
||||||
{enableWebhooks && (
|
{enableWebhooks && (
|
||||||
<>
|
<SubFormLayout>
|
||||||
<SubFormLayout>
|
<Title size="md" headingLevel="h4">{i18n._(t`Webhook details`)}</Title>
|
||||||
<Title size="md">{i18n._(t`Webhook details`)}</Title>
|
<WebhookSubForm
|
||||||
<WebhookSubForm
|
enableWebhooks={enableWebhooks}
|
||||||
enableWebhooks={enableWebhooks}
|
templateType={template.type}
|
||||||
templateType={template.type}
|
/>
|
||||||
/>
|
</SubFormLayout>
|
||||||
</SubFormLayout>
|
|
||||||
</>
|
|
||||||
)}
|
)}
|
||||||
|
|
||||||
{submitError && <FormSubmitError error={submitError} />}
|
{submitError && <FormSubmitError error={submitError} />}
|
||||||
|
|||||||
Reference in New Issue
Block a user