aboutsummaryrefslogtreecommitdiffstats
path: root/templates/repo/hooks.tmpl
diff options
context:
space:
mode:
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 eed35c3583..e1b36a67e8 100644
--- a/templates/repo/hooks.tmpl
+++ b/templates/repo/hooks.tmpl
@@ -15,7 +15,7 @@
<ul id="repo-hooks-list" class="list-unstyled">
{{range .Webhooks}}
<li>
- <span class="pull-left status text-success"><i class="fa fa-check"></i></span>
+ {{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 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>