Fix hyphenation of alt domains in repair dialog

This commit is contained in:
Girish Ramakrishnan
2019-09-27 15:34:54 -07:00
parent 8df1690d5d
commit 417640cfbe
2 changed files with 10 additions and 4 deletions

View File

@@ -133,7 +133,9 @@
</div>
<div ng-show="repair.alternateDomains.length">
<p ng-repeat="alternateDomain in repair.alternateDomains">
<label class="control-label"><input type="checkbox" ng-model="alternateDomain.enabled"> {{ alternateDomain.subdomain }}.{{ alternateDomain.domain }}</label>
<label class="control-label"><input type="checkbox" ng-model="alternateDomain.enabled">
{{ alternateDomain.subdomain + (!alternateDomain.subdomain ? '' : (alternateDomain.domain.config.hyphenatedSubdomains ? '-' : '.')) + alternateDomain.domain.domain }}
</label>
</p>
</div>
<div ng-show="repair.backups.length">