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