aboutsummaryrefslogtreecommitdiff
path: root/templates/admin
diff options
context:
space:
mode:
authorUnknwon <u@gogs.io>2018-03-30 03:52:23 -0400
committerUnknwon <u@gogs.io>2018-03-30 03:52:23 -0400
commit17d789a7856c1c62f354b2f6488952b62a7bad1b (patch)
treebbff2113fc292629956c40afbe625662e8abf53b /templates/admin
parent63a263f542716cf3663743d470df9b1f1eceb52e (diff)
pkg/mailer: support custom mail subject prefix (#4524)
Diffstat (limited to 'templates/admin')
-rw-r--r--templates/admin/config.tmpl4
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/admin/config.tmpl b/templates/admin/config.tmpl
index 52348b37..38d5e550 100644
--- a/templates/admin/config.tmpl
+++ b/templates/admin/config.tmpl
@@ -190,8 +190,8 @@
<dt>{{.i18n.Tr "admin.config.mailer_enabled"}}</dt>
<dd><i class="fa fa{{if .MailerEnabled}}-check{{end}}-square-o"></i></dd>
{{if .MailerEnabled}}
- <dt>{{.i18n.Tr "admin.config.mailer_name"}}</dt>
- <dd>{{.Mailer.Subject}}</dd>
+ <dt>{{.i18n.Tr "admin.config.mailer_subject_prefix"}}</dt>
+ <dd><code>{{.Mailer.SubjectPrefix}}</code></dd>
<dt>{{.i18n.Tr "admin.config.mailer_disable_helo"}}</dt>
<dd><i class="fa fa{{if .Mailer.DisableHelo}}-check{{end}}-square-o"></i></dd>
<dt>{{.i18n.Tr "admin.config.mailer_host"}}</dt>