Admin config page mailertype setting option update (#5973)

* Fix #5972
This commit is contained in:
techknowlogick 2019-02-06 11:17:58 -05:00 committed by GitHub
parent 0c721fe016
commit ad059fdbbc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -184,12 +184,12 @@
{{if .MailerEnabled}} {{if .MailerEnabled}}
<dt>{{.i18n.Tr "admin.config.mailer_name"}}</dt> <dt>{{.i18n.Tr "admin.config.mailer_name"}}</dt>
<dd>{{.Mailer.Name}}</dd> <dd>{{.Mailer.Name}}</dd>
{{if not .Mailer.UseSendmail}} {{if eq .Mailer.MailerType "smtp"}}
<dt>{{.i18n.Tr "admin.config.mailer_disable_helo"}}</dt> <dt>{{.i18n.Tr "admin.config.mailer_disable_helo"}}</dt>
<dd><i class="fa fa{{if .Mailer.DisableHelo}}-check{{end}}-square-o"></i></dd> <dd><i class="fa fa{{if .Mailer.DisableHelo}}-check{{end}}-square-o"></i></dd>
<dt>{{.i18n.Tr "admin.config.mailer_host"}}</dt> <dt>{{.i18n.Tr "admin.config.mailer_host"}}</dt>
<dd>{{.Mailer.Host}}</dd> <dd>{{.Mailer.Host}}</dd>
{{else}} {{else if eq .Mailer.MailerType "sendmail"}}
<dt>{{.i18n.Tr "admin.config.mailer_use_sendmail"}}</dt> <dt>{{.i18n.Tr "admin.config.mailer_use_sendmail"}}</dt>
<dd><i class="fa fa-check-square-o"></i></dd> <dd><i class="fa fa-check-square-o"></i></dd>
<dt>{{.i18n.Tr "admin.config.mailer_sendmail_path"}}</dt> <dt>{{.i18n.Tr "admin.config.mailer_sendmail_path"}}</dt>