toggle redirect

This commit is contained in:
Szekeres Bálint
2018-03-09 23:38:32 +01:00
parent cd0b0b4be6
commit 72740475a7
3 changed files with 16 additions and 3 deletions

View File

@@ -62,6 +62,14 @@
<span tooltips tooltip-template="Serve requests without www subdomain.">non-www</span>
</label>
</div>
<div class="form-subgroup" ng-cloak>
<div class="form-check">
<input class="form-check-input" type="checkbox" id="redirect" ng-model="data.redirect">
<label class="form-check-label" for="redirect">
<span tooltips tooltip-template="Redirect {{ isWWW() ? 'non-www version and ' : '' }}all subdomains to domain.">redirect <small>{{ isWWW() ? 'non-www, ' : '' }}subdomains</small></span>
</label>
</div>
</div>
<div class="form-subgroup" ng-if="isWWW()" ng-cloak>
<div class="form-check">
<input class="form-check-input" type="checkbox" id="cdn" ng-model="data.cdn">