From 937f6c494a747ee7656447080b67ba802f26b2bc Mon Sep 17 00:00:00 2001 From: loganhz Date: Tue, 18 Sep 2018 13:27:38 +0800 Subject: [PATCH] Add text for cloud provider https://github.com/rancher/rancher/issues/15652 --- lib/shared/addon/components/cru-cloud-provider/template.hbs | 5 +++++ translations/en-us.yaml | 1 + 2 files changed, 6 insertions(+) diff --git a/lib/shared/addon/components/cru-cloud-provider/template.hbs b/lib/shared/addon/components/cru-cloud-provider/template.hbs index d436eb3e7..18e44dd28 100644 --- a/lib/shared/addon/components/cru-cloud-provider/template.hbs +++ b/lib/shared/addon/components/cru-cloud-provider/template.hbs @@ -40,6 +40,11 @@ {{/unless}} + {{#if (and (eq driver 'custom') (eq selectedCloudProvider 'none'))}} +
+ {{banner-message color="bg-info" icon="icon-info" message=(t 'cloudProvider.custom.notInList' htmlSafe=true)}} +
+ {{/if}}
diff --git a/translations/en-us.yaml b/translations/en-us.yaml index 5cff2d211..c24ec465a 100644 --- a/translations/en-us.yaml +++ b/translations/en-us.yaml @@ -1687,6 +1687,7 @@ cloudProvider: azure: Azure name: Cloud Provider Name custom: + notInList: 'If your cloud provider is not listed, please use the Custom option.' helpText: 'Please edit the YAML to add in any other cloud providers' helpText: |