You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gitea/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>
1 year ago
..
base.tmpl Change to vertical navbar layout for secondary navbar for repo/user/admin settings (#24246) 2 years ago
base_list.tmpl Fix Fomantic's line-height causing vertical scrollbars to appear (#26961) 1 year ago
delete_modal.tmpl Improve some modal action buttons (#24289) 2 years ago
dingtalk.tmpl Refactor `i18n` to `locale` (#20153) 3 years ago
discord.tmpl Add template linting via djlint (#25212) 2 years ago
feishu.tmpl Refactor `i18n` to `locale` (#20153) 3 years ago
gitea.tmpl Use docs.gitea.com instead of docs.gitea.io (#26739) 1 year ago
gogs.tmpl Use docs.gitea.com instead of docs.gitea.io (#26739) 1 year ago
history.tmpl Disable `Test Delivery` and `Replay` webhook buttons when webhook is inactive (#27211) 1 year ago
list.tmpl Change to vertical navbar layout for secondary navbar for repo/user/admin settings (#24246) 2 years ago
matrix.tmpl Add Webhook authorization header (#20926) 2 years ago
msteams.tmpl Refactor `i18n` to `locale` (#20153) 3 years ago
new.tmpl Extract common code to new template (#26933) 1 year ago
packagist.tmpl Add template linting via djlint (#25212) 2 years ago
settings.tmpl Change green buttons to primary color (#27099) 1 year ago
slack.tmpl Add template linting via djlint (#25212) 2 years ago
telegram.tmpl Add ThreadID parameter for Telegram webhooks (#25996) 1 year ago
wechatwork.tmpl Refactor `i18n` to `locale` (#20153) 3 years ago