summaryrefslogtreecommitdiffstats
path: root/templates/repo/settings/webhook/link_menu.tmpl
blob: 2edc5af4ac4141309b3df6a08a5ca8653a715f1d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
{{$size := 20}}
{{if .Size}}
	{{$size = .Size}}
{{end}}
<div class="menu">
	{{range .WebhookList}}
		<a class="item" href="{{$.BaseLinkNew}}/{{.Type}}/new">
			{{.Icon $size}}
			{{ctx.Locale.Tr (print "repo.settings.web_hook_name_" .Type)}}
		</a>
	{{end}}
</div>