forgejo/templates/repo/settings/webhook
Giteabot 2774a2afc6
Disable Test Delivery and Replay webhook buttons when webhook is inactive (#27211) (#27253)
Backport #27211 by @yardenshoham

These buttons are now disabled when the webhook is not active.

The buttons were always enabled before this change.

- Fixes #26824
- Replaces #26814

# Before


![image](https://github.com/go-gitea/gitea/assets/20454870/e783d0d8-b433-440e-b95f-50d7c42613d3)


![image](https://github.com/go-gitea/gitea/assets/20454870/b4886151-9f32-4e83-8001-dd3f20c23d70)

# After


![image](https://github.com/go-gitea/gitea/assets/20454870/74b76a72-0818-4143-8548-5d42c4119a05)


![image](https://github.com/go-gitea/gitea/assets/20454870/d5ae4e5c-c1ac-4751-a072-e6f7511b1e07)

Signed-off-by: Yarden Shoham <git@yardenshoham.com>
Co-authored-by: Yarden Shoham <git@yardenshoham.com>
2023-09-25 10:21:06 +00:00
..
base.tmpl
base_list.tmpl Fix Fomantic's line-height causing vertical scrollbars to appear (#26961) 2023-09-13 09:08:45 +00:00
delete_modal.tmpl Improve some modal action buttons (#24289) 2023-04-24 07:08:59 -04:00
dingtalk.tmpl
discord.tmpl Add template linting via djlint (#25212) 2023-06-14 18:17:58 +00:00
feishu.tmpl
gitea.tmpl Use docs.gitea.com instead of docs.gitea.io (#26739) 2023-08-27 11:59:12 +00:00
gogs.tmpl Use docs.gitea.com instead of docs.gitea.io (#26739) 2023-08-27 11:59:12 +00:00
history.tmpl Disable Test Delivery and Replay webhook buttons when webhook is inactive (#27211) (#27253) 2023-09-25 10:21:06 +00:00
list.tmpl
matrix.tmpl
msteams.tmpl
new.tmpl Extract common code to new template (#26933) 2023-09-06 10:11:06 +00:00
packagist.tmpl Add template linting via djlint (#25212) 2023-06-14 18:17:58 +00:00
settings.tmpl Change green buttons to primary color (#27099) 2023-09-18 22:05:31 +00:00
slack.tmpl Add template linting via djlint (#25212) 2023-06-14 18:17:58 +00:00
telegram.tmpl Add ThreadID parameter for Telegram webhooks (#25996) 2023-08-13 14:00:06 +00:00
wechatwork.tmpl