Template
1
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo synced 2024-12-02 06:46:10 +01:00
forgejo/templates/repo/settings/webhook/link_menu.tmpl

13 lines
265 B
Go HTML Template
Raw Normal View History

{{$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>