Add text for cloud provider

https://github.com/rancher/rancher/issues/15652
This commit is contained in:
loganhz 2018-09-18 13:27:38 +08:00
parent 59ce6f88a3
commit 937f6c494a
2 changed files with 6 additions and 0 deletions

View File

@ -40,6 +40,11 @@
</div>
</div>
{{/unless}}
{{#if (and (eq driver 'custom') (eq selectedCloudProvider 'none'))}}
<div class="col span-6">
{{banner-message color="bg-info" icon="icon-info" message=(t 'cloudProvider.custom.notInList' htmlSafe=true)}}
</div>
{{/if}}
</div>
<div class="col span-12">

View File

@ -1687,6 +1687,7 @@ cloudProvider:
azure: Azure
name: Cloud Provider Name
custom:
notInList: 'If your cloud provider is not listed, please use the <b>Custom</b> option.'
helpText: 'Please edit the YAML to add in any other <a href="http://rancher.com/docs/rke/v0.1.x/en/config-options/cloud-providers/" target="_blank" rel="nofollow noopener noreferrer">cloud providers</a>'
helpText: |