mirror of
1
Fork 0
forgejo/templates/repo/settings/webhook
Yarden Shoham e6d8b14620
Disable `Test Delivery` and `Replay` webhook buttons when webhook is inactive (#27211)
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>
2023-09-25 07:33:00 +00:00
..
base.tmpl Change to vertical navbar layout for secondary navbar for repo/user/admin settings (#24246) 2023-04-23 18:21:21 +08:00
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 Refactor `i18n` to `locale` (#20153) 2022-06-27 15:58:46 -05:00
discord.tmpl Add template linting via djlint (#25212) 2023-06-14 18:17:58 +00:00
feishu.tmpl Refactor `i18n` to `locale` (#20153) 2022-06-27 15:58:46 -05:00
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) 2023-09-25 07:33:00 +00:00
list.tmpl Change to vertical navbar layout for secondary navbar for repo/user/admin settings (#24246) 2023-04-23 18:21:21 +08:00
matrix.tmpl Add Webhook authorization header (#20926) 2022-11-03 20:23:20 +02:00
msteams.tmpl Refactor `i18n` to `locale` (#20153) 2022-06-27 15:58:46 -05:00
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 Refactor `i18n` to `locale` (#20153) 2022-06-27 15:58:46 -05:00