Put radiobuttons instead of checkboxes for mail from setting

This commit is contained in:
Johannes Zellner
2021-03-17 16:40:17 +01:00
parent 10fee49e9a
commit 20b42042da

View File

@@ -851,9 +851,19 @@
<div class="card" ng-show="view === 'email'">
<div class="row">
<div class="col-md-12">
<label class="control-label"><input type="checkbox" ng-model="email.enableMailbox">
{{ 'app.email.from.enable' | tr }}
</label>
<div class="radio">
<label>
<input type="radio" ng-model="email.enableMailbox" value="0"> {{ 'app.email.from.disable' | tr }}
</label>
</div>
<p class="small">Some description what this does</p>
<div class="radio">
<label>
<input type="radio" ng-model="email.enableMailbox" value="1"> {{ 'app.email.from.enable' | tr }}
</label>
</div>
<p ng-bind-html="'app.email.from.description2' | tr:{ domain: app.domain, domainConfigLink: ('/#/email/' + app.domain) }"></p>