Changes
2 changed files (+1/-2)
-
-
@@ -147,7 +147,6 @@ func WebhooksNew(ctx *context.Context) {if hookType == "discord" { ctx.Data["DiscordHook"] = map[string]interface{}{ "Username": "Gitea", "IconURL": setting.AppURL + "img/favicon.png", } } ctx.Data["BaseLink"] = orCtx.LinkNew
-
-
-
@@ -12,7 +12,7 @@</div> <div class="field"> <label for="icon_url">{{.i18n.Tr "repo.settings.discord_icon_url"}}</label> <input id="icon_url" name="icon_url" value="{{.DiscordHook.IconURL}}" placeholder="e.g. https://example.com/img/favicon.png"> <input id="icon_url" name="icon_url" value="{{.DiscordHook.IconURL}}" placeholder="e.g. https://example.com/assets/img/logo.svg"> </div> {{template "repo/settings/webhook/settings" .}} </form>
-