diff --git a/ui/admin/app/components/form/host-catalog/gcp/index.hbs b/ui/admin/app/components/form/host-catalog/gcp/index.hbs index 5796c997d..f486a40a1 100644 --- a/ui/admin/app/components/form/host-catalog/gcp/index.hbs +++ b/ui/admin/app/components/form/host-catalog/gcp/index.hbs @@ -118,9 +118,11 @@ as |F| > {{t 'resources.host-catalog.form.project_id.label'}} - {{t - 'resources.host-catalog.form.project_id.help' - }} + {{t 'resources.host-catalog.form.project_id.help'}} + + {{t 'actions.learn-more'}} + + {{#if @model.errors.project_id}} {{#each @model.errors.project_id as |error|}} @@ -140,7 +142,11 @@ as |F| > {{t 'resources.host-catalog.form.zone.label'}} - {{t 'resources.host-catalog.form.zone.help'}} + {{t 'resources.host-catalog.form.zone.help'}} + + {{t 'actions.learn-more'}} + + {{#if @model.errors.zone}} {{#each @model.errors.zone as |error|}} @@ -160,9 +166,12 @@ as |F| > {{t 'resources.host-catalog.form.client_email.label'}} - {{t - 'resources.host-catalog.form.client_email.help' - }} + + {{t 'resources.host-catalog.form.client_email.help'}} + + {{t 'actions.learn-more'}} + + {{#if @model.errors.client_email}} {{#each @model.errors.client_email as |error|}} @@ -186,7 +195,11 @@ }} {{t 'resources.host-catalog.form.target_service_account_id.help' - }} + }} + + {{t 'actions.learn-more'}} + + {{#if @model.errors.target_service_account_id}} {{#each @model.errors.target_service_account_id as |error|}} @@ -207,9 +220,11 @@ as |F| > {{t 'resources.host-catalog.form.private_key_id.label'}} - {{t - 'resources.host-catalog.form.private_key_id.help' - }} + {{t 'resources.host-catalog.form.private_key_id.help'}} + + {{t 'actions.learn-more'}} + + {{#if @model.errors.private_key_id}} {{#each @model.errors.private_key_id as |error|}} @@ -228,9 +243,11 @@ as |F| > {{t 'resources.host-catalog.form.private_key.label'}} - {{t - 'resources.host-catalog.form.private_key.help' - }} + {{t 'resources.host-catalog.form.private_key.help'}} + + {{t 'actions.learn-more'}} + + {{#if @model.errors.private_key}} {{#each @model.errors.private_key as |error|}} diff --git a/ui/admin/config/environment.js b/ui/admin/config/environment.js index 694597b6b..2d675b3e7 100644 --- a/ui/admin/config/environment.js +++ b/ui/admin/config/environment.js @@ -74,6 +74,7 @@ module.exports = function (environment) { 'host-catalog': '/docs/concepts/domain-model/host-catalogs', 'host-catalog.new': '/docs/common-workflows/manage-targets', 'host-catalog.azure': '/docs/concepts/host-discovery/azure', + 'host-catalog.gcp': '/docs/concepts/host-discovery/gcp', 'host-catalog.aws': '/docs/concepts/host-discovery/aws', 'host-catalog.aws.region': 'https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Concepts.RegionsAndAvailabilityZones.html',