mirror of https://github.com/go-gitea/gitea.git
parent
0c721fe016
commit
ad059fdbbc
|
@ -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>
|
||||||
|
|
Loading…
Reference in New Issue