summaryrefslogtreecommitdiffstats
path: root/templates/admin
diff options
context:
space:
mode:
authorJosh Frye <joshfng@gmail.com>2016-02-18 17:13:12 -0500
committerJosh Frye <joshfng@gmail.com>2016-02-24 09:48:05 -0500
commitc27038e392c87634c7a85674eeb2336c5074e5a3 (patch)
treec7c5ebb74c5d4639550eea9f5042073f125466ed /templates/admin
parentd324500959c06e975921790f8770aa5d1bdf2344 (diff)
downloadgitea-c27038e392c87634c7a85674eeb2336c5074e5a3.tar.gz
gitea-c27038e392c87634c7a85674eeb2336c5074e5a3.zip
Test mailer button. Addresses #1531
Diffstat (limited to 'templates/admin')
-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>