1
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2024-11-23 08:47:42 -05:00
forgejo/templates
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
..
admin Add missing public user visibility in user details page (#27246) (#27250) 2023-09-25 07:03:22 +00:00
api/packages/pypi Remove incorrect HTML self close tag (#23748) 2023-03-27 18:05:51 +02:00
base cleanup locale function usage (#27227) (#27240) 2023-09-25 00:21:38 +00:00
code cleanup locale function usage (#27227) (#27240) 2023-09-25 00:21:38 +00:00
custom Add footer extra links template (#9576) 2020-01-03 20:41:56 +02:00
devtest cleanup locale function usage (#27227) (#27240) 2023-09-25 00:21:38 +00:00
explore Use mask-based fade-out effect for .new-menu (#27181) (#27243) 2023-09-25 07:52:41 +00:00
mail Update team invitation email link (#26550) 2023-08-31 16:26:13 +00:00
org Change green buttons to primary color (#27099) 2023-09-18 22:05:31 +00:00
package cleanup locale function usage (#27227) (#27240) 2023-09-25 00:21:38 +00:00
projects cleanup locale function usage (#27227) (#27240) 2023-09-25 00:21:38 +00:00
repo Disable Test Delivery and Replay webhook buttons when webhook is inactive (#27211) (#27253) 2023-09-25 10:21:06 +00:00
shared cleanup locale function usage (#27227) (#27240) 2023-09-25 00:21:38 +00:00
status Replace fomantic divider module with our own (#25539) 2023-06-29 20:24:22 +08:00
swagger Fix PushEvent NullPointerException jenkinsci/github-plugin (#27203) (#27251) 2023-09-25 08:24:50 +00:00
user cleanup locale function usage (#27227) (#27240) 2023-09-25 00:21:38 +00:00
webhook Extract common code to new template (#26933) 2023-09-06 10:11:06 +00:00
home.tmpl Improve home page template, fix Sort dropdown menu flash (#23856) 2023-04-01 13:47:54 +08:00
install.tmpl Use docs.gitea.com instead of docs.gitea.io (#26739) 2023-08-27 11:59:12 +00:00
post-install.tmpl Remove incorrect element ID on "post-install" page (#25104) 2023-06-08 12:23:39 +08:00