aboutsummaryrefslogtreecommitdiffstats
path: root/templates/webhook/new.tmpl
diff options
context:
space:
mode:
Diffstat (limited to 'templates/webhook/new.tmpl')
-rw-r--r--templates/webhook/new.tmpl9
1 files changed, 7 insertions, 2 deletions
diff --git a/templates/webhook/new.tmpl b/templates/webhook/new.tmpl
index a185c42b51..305133c03a 100644
--- a/templates/webhook/new.tmpl
+++ b/templates/webhook/new.tmpl
@@ -1,7 +1,12 @@
<h4 class="ui top attached header">
{{.CustomHeaderTitle}}
- <div class="ui right">
- {{template "shared/webhook/icon" .ctxData}}
+ <div class="ui right type dropdown">
+ <div class="text gt-df gt-ac">
+ {{template "shared/webhook/icon" (dict "Size" 20 "HookType" .ctxData.HookType)}}
+ {{ctx.Locale.Tr (print "repo.settings.web_hook_name_" .ctxData.HookType)}}
+ </div>
+ {{svg "octicon-triangle-down" 14 "dropdown icon"}}
+ {{template "repo/settings/webhook/link_menu" .ctxData}}
</div>
</h4>
<div class="ui attached segment">