code.gitea.io/gitea@v1.22.3/templates/repo/settings/webhook/link_menu.tmpl (about) 1 {{$size := 20}} 2 {{if .Size}} 3 {{$size = .Size}} 4 {{end}} 5 <div class="menu"> 6 <a class="item" href="{{.BaseLinkNew}}/gitea/new"> 7 {{template "shared/webhook/icon" (dict "HookType" "gitea" "Size" $size)}} 8 {{ctx.Locale.Tr "repo.settings.web_hook_name_gitea"}} 9 </a> 10 <a class="item" href="{{.BaseLinkNew}}/gogs/new"> 11 {{template "shared/webhook/icon" (dict "HookType" "gogs" "Size" $size)}} 12 {{ctx.Locale.Tr "repo.settings.web_hook_name_gogs"}} 13 </a> 14 <a class="item" href="{{.BaseLinkNew}}/slack/new"> 15 {{template "shared/webhook/icon" (dict "HookType" "slack" "Size" $size)}} 16 {{ctx.Locale.Tr "repo.settings.web_hook_name_slack"}} 17 </a> 18 <a class="item" href="{{.BaseLinkNew}}/discord/new"> 19 {{template "shared/webhook/icon" (dict "HookType" "discord" "Size" $size)}} 20 {{ctx.Locale.Tr "repo.settings.web_hook_name_discord"}} 21 </a> 22 <a class="item" href="{{.BaseLinkNew}}/dingtalk/new"> 23 {{template "shared/webhook/icon" (dict "HookType" "dingtalk" "Size" $size)}} 24 {{ctx.Locale.Tr "repo.settings.web_hook_name_dingtalk"}} 25 </a> 26 <a class="item" href="{{.BaseLinkNew}}/telegram/new"> 27 {{template "shared/webhook/icon" (dict "HookType" "telegram" "Size" $size)}} 28 {{ctx.Locale.Tr "repo.settings.web_hook_name_telegram"}} 29 </a> 30 <a class="item" href="{{.BaseLinkNew}}/msteams/new"> 31 {{template "shared/webhook/icon" (dict "HookType" "msteams" "Size" $size)}} 32 {{ctx.Locale.Tr "repo.settings.web_hook_name_msteams"}} 33 </a> 34 <a class="item" href="{{.BaseLinkNew}}/feishu/new"> 35 {{template "shared/webhook/icon" (dict "HookType" "feishu" "Size" $size)}} 36 {{ctx.Locale.Tr "repo.settings.web_hook_name_feishu_or_larksuite"}} 37 </a> 38 <a class="item" href="{{.BaseLinkNew}}/matrix/new"> 39 {{template "shared/webhook/icon" (dict "HookType" "matrix" "Size" $size)}} 40 {{ctx.Locale.Tr "repo.settings.web_hook_name_matrix"}} 41 </a> 42 <a class="item" href="{{.BaseLinkNew}}/wechatwork/new"> 43 {{template "shared/webhook/icon" (dict "HookType" "wechatwork" "Size" $size)}} 44 {{ctx.Locale.Tr "repo.settings.web_hook_name_wechatwork"}} 45 </a> 46 <a class="item" href="{{.BaseLinkNew}}/packagist/new"> 47 {{template "shared/webhook/icon" (dict "HookType" "packagist" "Size" $size)}} 48 {{ctx.Locale.Tr "repo.settings.web_hook_name_packagist"}} 49 </a> 50 </div>