diff options
author | Unknwon <u@gogs.io> | 2017-03-19 17:44:46 -0400 |
---|---|---|
committer | Unknwon <u@gogs.io> | 2017-03-19 17:44:46 -0400 |
commit | 2807274e2dca1780443bcbbab946b1551c4c88f5 (patch) | |
tree | 30c58a2e76e6e1338e8fd8e615d08bcd5b22d5bf /templates/org | |
parent | 55a5ad5cdcbe6906f863d0b7f27d1ee500720416 (diff) |
repo/webhook: able to retrigger delivery history (#2187)
Diffstat (limited to 'templates/org')
-rw-r--r-- | templates/org/settings/webhook_new.tmpl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/org/settings/webhook_new.tmpl b/templates/org/settings/webhook_new.tmpl index d9a6b156..7f09fc94 100644 --- a/templates/org/settings/webhook_new.tmpl +++ b/templates/org/settings/webhook_new.tmpl @@ -11,8 +11,8 @@ <div class="ui right"> {{if eq .HookType "gogs"}} <img class="img-13" src="{{AppSubUrl}}/img/favicon.png"> - {{else if eq .HookType "slack"}} - <img class="img-13" src="{{AppSubUrl}}/img/slack.png"> + {{else}} + <img class="img-13" src="{{AppSubUrl}}/img/{{.HookType}}.png"> {{end}} </div> </h4> |