Let the user know when no DNS provider is setup

This is the case when noop provider is used
This commit is contained in:
Johannes
2016-10-25 14:41:28 +02:00
parent 012fbe926f
commit e848b23bc8

View File

@@ -74,11 +74,19 @@
<td class="text-right" style="vertical-align: top; white-space: nowrap;">{{ config.fqdn }}</td>
</tr>
<tr>
<tr ng-hide="dnsConfig.provider === 'noop'">
<td class="text-muted" style="vertical-align: top;">DNS Provider</td>
<td class="text-right" style="vertical-align: top; white-space: nowrap;">{{ dnsConfig.provider }}</td>
</tr>
<tr ng-show="dnsConfig.provider === 'noop'">
<td colspan="2">
<br/>
No DNS provider configured. All DNS records need to be setup manually.
To avoid manual setup for each installed app, setup a wildcard DNS record or configure an external DNS provider.
</td>
</tr>
<tr ng-show="config.isCustomDomain && dnsConfig.provider === 'route53'">
<td class="text-muted" style="vertical-align: top;">Access Key Id</td>
<td class="text-right" style="vertical-align: top; white-space: nowrap;">{{ dnsConfig.accessKeyId || 'unset' }}</td>