mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-11-25 08:59:31 -05:00
fix: use 'Forgejo' username for Discord, Packagist, and Slack webhooks
closes: https://codeberg.org/forgejo/forgejo/issues/1387
This commit is contained in:
parent
9135a5e1db
commit
7dc3a05f5b
3 changed files with 3 additions and 3 deletions
|
@ -8,7 +8,7 @@
|
||||||
</div>
|
</div>
|
||||||
<div class="field">
|
<div class="field">
|
||||||
<label for="username">{{.locale.Tr "repo.settings.discord_username"}}</label>
|
<label for="username">{{.locale.Tr "repo.settings.discord_username"}}</label>
|
||||||
<input id="username" name="username" value="{{.DiscordHook.Username}}" placeholder="Gitea">
|
<input id="username" name="username" value="{{.DiscordHook.Username}}" placeholder="Forgejo">
|
||||||
</div>
|
</div>
|
||||||
<div class="field">
|
<div class="field">
|
||||||
<label for="icon_url">{{.locale.Tr "repo.settings.discord_icon_url"}}</label>
|
<label for="icon_url">{{.locale.Tr "repo.settings.discord_icon_url"}}</label>
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
{{.CsrfTokenHtml}}
|
{{.CsrfTokenHtml}}
|
||||||
<div class="required field {{if .Err_Username}}error{{end}}">
|
<div class="required field {{if .Err_Username}}error{{end}}">
|
||||||
<label for="username">{{.locale.Tr "repo.settings.packagist_username"}}</label>
|
<label for="username">{{.locale.Tr "repo.settings.packagist_username"}}</label>
|
||||||
<input id="username" name="username" value="{{.PackagistHook.Username}}" placeholder="Gitea" autofocus required>
|
<input id="username" name="username" value="{{.PackagistHook.Username}}" placeholder="Forgejo" autofocus required>
|
||||||
</div>
|
</div>
|
||||||
<div class="required field {{if .Err_APIToken}}error{{end}}">
|
<div class="required field {{if .Err_APIToken}}error{{end}}">
|
||||||
<label for="api_token">{{.locale.Tr "repo.settings.packagist_api_token"}}</label>
|
<label for="api_token">{{.locale.Tr "repo.settings.packagist_api_token"}}</label>
|
||||||
|
|
|
@ -13,7 +13,7 @@
|
||||||
|
|
||||||
<div class="field">
|
<div class="field">
|
||||||
<label for="username">{{.locale.Tr "repo.settings.slack_username"}}</label>
|
<label for="username">{{.locale.Tr "repo.settings.slack_username"}}</label>
|
||||||
<input id="username" name="username" value="{{.SlackHook.Username}}" placeholder="Gitea">
|
<input id="username" name="username" value="{{.SlackHook.Username}}" placeholder="Forgejo">
|
||||||
</div>
|
</div>
|
||||||
<div class="field">
|
<div class="field">
|
||||||
<label for="icon_url">{{.locale.Tr "repo.settings.slack_icon_url"}}</label>
|
<label for="icon_url">{{.locale.Tr "repo.settings.slack_icon_url"}}</label>
|
||||||
|
|
Loading…
Reference in a new issue