summaryrefslogtreecommitdiffstats
path: root/templates/repo/hooks.tmpl
diff options
context:
space:
mode:
authorUnknown <joe2010xtmf@163.com>2014-05-06 11:50:31 -0400
committerUnknown <joe2010xtmf@163.com>2014-05-06 11:50:31 -0400
commite573855a4f040abd4aa6a2afa9ce610a1ec2670f (patch)
tree7ead7dafd3c228305e83a19dec0bca5b60d92217 /templates/repo/hooks.tmpl
parent94bccbb148a4ed897eb8332fc746aa75486c5c4d (diff)
downloadgitea-e573855a4f040abd4aa6a2afa9ce610a1ec2670f.tar.gz
gitea-e573855a4f040abd4aa6a2afa9ce610a1ec2670f.zip
Fix #98, support web hook
Diffstat (limited to 'templates/repo/hooks.tmpl')
-rw-r--r--templates/repo/hooks.tmpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/repo/hooks.tmpl b/templates/repo/hooks.tmpl
index e1b36a67e8..85132e4b81 100644
--- a/templates/repo/hooks.tmpl
+++ b/templates/repo/hooks.tmpl
@@ -16,7 +16,7 @@
{{range .Webhooks}}
<li>
{{if .IsActive}}<span class="pull-left status text-success"><i class="fa fa-check"></i></span>{{else}}<span class="pull-left status"><i class="fa fa-times"></i></span>{{end}}
- <a class="link" href="{{$.RepoLink}}/settings/hooks/{{.Id}}">{{.Payload}}</a>
+ <a class="link" href="{{$.RepoLink}}/settings/hooks/{{.Id}}">{{.Url}}</a>
<a href="{{$.RepoLink}}/settings/hooks?remove={{.Id}}" class="remove-hook pull-right"><i class="fa fa-times"></i></a>
<a href="{{$.RepoLink}}/settings/hooks/{{.Id}}" class="edit-hook pull-right"><i class="fa fa-pencil"></i></a>
</li>