mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-11-22 21:35:35 +03:00
12 lines
265 B
Go HTML Template
12 lines
265 B
Go HTML Template
{{$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>
|