mirror of
https://github.com/gogs/gogs.git
synced 2026-05-07 01:07:15 +02:00
webhook: support color for Discord
This commit is contained in:
@@ -1 +1 @@
|
||||
0.9.163.0220
|
||||
0.9.164.0220
|
||||
@@ -15,6 +15,10 @@
|
||||
<label for="icon_url">{{.i18n.Tr "repo.settings.slack_icon_url"}}</label>
|
||||
<input id="icon_url" name="icon_url" value="{{.SlackHook.IconURL}}" placeholder="e.g. https://example.com/img/favicon.png">
|
||||
</div>
|
||||
<div class="field">
|
||||
<label for="color">{{.i18n.Tr "repo.settings.slack_color"}}</label>
|
||||
<input id="color" name="color" value="{{.SlackHook.Color}}" placeholder="e.g. #dd4b39">
|
||||
</div>
|
||||
{{template "repo/settings/hook_settings" .}}
|
||||
</form>
|
||||
{{end}}
|
||||
|
||||
Reference in New Issue
Block a user