summaryrefslogtreecommitdiffstats
path: root/templates/admin
diff options
context:
space:
mode:
authorUnknwon <joe2010xtmf@163.com>2015-02-10 21:06:59 -0500
committerUnknwon <joe2010xtmf@163.com>2015-02-10 21:06:59 -0500
commit6a23252edc36a3d99b35af69a310fd31f687f3cb (patch)
tree94b1355117f54a54596dad3f9bb2b56f9e6fec19 /templates/admin
parente407df54f000bf3e078e67f043571293e4edad5d (diff)
downloadgitea-6a23252edc36a3d99b35af69a310fd31f687f3cb.tar.gz
gitea-6a23252edc36a3d99b35af69a310fd31f687f3cb.zip
able to allow insecure certification of webhook for #891
Diffstat (limited to 'templates/admin')
-rw-r--r--templates/admin/config.tmpl6
1 files changed, 4 insertions, 2 deletions
diff --git a/templates/admin/config.tmpl b/templates/admin/config.tmpl
index f8b4be0b83..5cf84beb99 100644
--- a/templates/admin/config.tmpl
+++ b/templates/admin/config.tmpl
@@ -102,9 +102,11 @@
<div class="panel-body">
<dl class="dl-horizontal admin-dl-horizontal">
<dt>{{.i18n.Tr "admin.config.task_interval"}}</dt>
- <dd>{{.WebhookTaskInterval}} {{.i18n.Tr "tool.raw_minutes"}}</dd>
+ <dd>{{.Webhook.TaskInterval}} {{.i18n.Tr "tool.raw_minutes"}}</dd>
<dt>{{.i18n.Tr "admin.config.deliver_timeout"}}</dt>
- <dd>{{.WebhookDeliverTimeout}} {{.i18n.Tr "tool.raw_seconds"}}</dd>
+ <dd>{{.Webhook.DeliverTimeout}} {{.i18n.Tr "tool.raw_seconds"}}</dd>
+ <dt>{{.i18n.Tr "admin.config.allow_insecure_certification"}}</dt>
+ <dd><i class="fa fa{{if .Webhook.AllowInsecureCertification}}-check{{end}}-square-o"></i></dd>
</dl>
</div>
</div>