From c9cfaf65a07ab2c5b316a91c84dbdf6ef2fbe96c Mon Sep 17 00:00:00 2001 From: Vadiem Janssens Date: Fri, 19 Jun 2020 09:47:54 +0200 Subject: [PATCH] Add headingLevels to Title, minor improvements Signed-off-by: Vadiem Janssens --- .../screens/Template/shared/JobTemplateForm.jsx | 9 +++++---- .../Template/shared/WorkflowJobTemplateForm.jsx | 16 +++++++--------- 2 files changed, 12 insertions(+), 13 deletions(-) diff --git a/awx/ui_next/src/screens/Template/shared/JobTemplateForm.jsx b/awx/ui_next/src/screens/Template/shared/JobTemplateForm.jsx index 8df4dc1875..98773323be 100644 --- a/awx/ui_next/src/screens/Template/shared/JobTemplateForm.jsx +++ b/awx/ui_next/src/screens/Template/shared/JobTemplateForm.jsx @@ -555,7 +555,7 @@ function JobTemplateForm({ {allowCallbacks && ( <> - + <Title size="md" headingLevel="h4"> {i18n._(t`Provisioning Callback details`)} @@ -580,13 +580,14 @@ function JobTemplateForm({ } /> - -
)} + + {allowCallbacks && enableWebhooks && (
)} + {enableWebhooks && ( <> - {i18n._(t`Webhook details`)} + {i18n._(t`Webhook details`)} {enableWebhooks && ( - <> - - {i18n._(t`Webhook details`)} - - - + + {i18n._(t`Webhook details`)} + + )} {submitError && }