1
1
mirror of https://github.com/go-gitea/gitea synced 2025-07-22 18:28:37 +00:00

Refactor webhooks i18n (#18380)

This commit is contained in:
wxiaoguang
2022-01-24 19:36:54 +08:00
committed by GitHub
parent 4bfd749fc5
commit 5506cb92da
13 changed files with 37 additions and 31 deletions

View File

@@ -1,5 +1,5 @@
{{if eq .HookType "wechatwork"}}
<p>{{.i18n.Tr "repo.settings.add_Wechat_hook_desc" "https://work.weixin.qq.com" | Str2html}}</p>
<p>{{.i18n.Tr "repo.settings.add_web_hook_desc" "https://work.weixin.qq.com" (.i18n.Tr "repo.settings.web_hook_name_wechatwork") | Str2html}}</p>
<form class="ui form" action="{{.BaseLink}}/wechatwork/{{or .Webhook.ID "new"}}" method="post">
{{.CsrfTokenHtml}}
<div class="required field {{if .Err_PayloadURL}}error{{end}}">