summaryrefslogtreecommitdiffstats
path: root/templates/admin/config.tmpl
diff options
context:
space:
mode:
authorUnknwon <u@gogs.io>2016-02-24 23:26:32 -0500
committerUnknwon <u@gogs.io>2016-02-24 23:26:32 -0500
commit5418c2c5e45ba013938666f8c64c0a60a61a1398 (patch)
treec7c5ebb74c5d4639550eea9f5042073f125466ed /templates/admin/config.tmpl
parentd324500959c06e975921790f8770aa5d1bdf2344 (diff)
parentc27038e392c87634c7a85674eeb2336c5074e5a3 (diff)
downloadgitea-5418c2c5e45ba013938666f8c64c0a60a61a1398.tar.gz
gitea-5418c2c5e45ba013938666f8c64c0a60a61a1398.zip
Merge pull request #2660 from joshfng/config-test-mailer
Test mailer button. Addresses #1531
Diffstat (limited to 'templates/admin/config.tmpl')
-rw-r--r--templates/admin/config.tmpl3
1 files changed, 2 insertions, 1 deletions
diff --git a/templates/admin/config.tmpl b/templates/admin/config.tmpl
index 0f33c6077c..c3af050077 100644
--- a/templates/admin/config.tmpl
+++ b/templates/admin/config.tmpl
@@ -116,7 +116,8 @@
<dt>{{.i18n.Tr "admin.config.mailer_host"}}</dt>
<dd>{{.Mailer.Host}}</dd>
<dt>{{.i18n.Tr "admin.config.mailer_user"}}</dt>
- <dd>{{.Mailer.User}}</dd>{{end}}
+ <dd>{{.Mailer.User}}</dd><br>
+ <a class="ui green button" tabindex="5" href="/admin/config/testmailer">{{.i18n.Tr "admin.config.mailer_test_email"}}</a>{{end}}
</dl>
</div>