0
0
Fork 0
mirror of https://github.com/go-gitea/gitea synced 2024-09-12 12:19:38 +02:00
gitea/templates/repo/settings
wxiaoguang 59eb660b1a
Fix incorrect toggle buttons (#23676)
Some of those are still Copy&Paste problems.

This PR:

* Only cleans the legacy incorrect code, doesn't change or improve the
"action" logic.
* Remove the redundant `$('.toggle.button').on('click')`, now
`$('.show-panel.button').on('click')` handles that kinds of buttons


Actually, there is only one correct "toggle button" in code, the one on
the webhook page.

No need to backport.
2023-03-26 20:06:11 +08:00
..
webhook Fix incorrect toggle buttons (#23676) 2023-03-26 20:06:11 +08:00
branches.tmpl
collaboration.tmpl Use data-tooltip-content for tippy tooltip (#23649) 2023-03-24 18:35:38 +08:00
deploy_keys.tmpl Use data-tooltip-content for tippy tooltip (#23649) 2023-03-24 18:35:38 +08:00
githook_edit.tmpl
githooks.tmpl
lfs.tmpl Use data-tooltip-content for tippy tooltip (#23649) 2023-03-24 18:35:38 +08:00
lfs_file.tmpl Fix incorrect show-modal and show-panel class (#23660) 2023-03-23 12:52:20 -04:00
lfs_file_find.tmpl
lfs_locks.tmpl Use data-tooltip-content for tippy tooltip (#23649) 2023-03-24 18:35:38 +08:00
lfs_pointers.tmpl Fix incorrect show-modal and show-panel class (#23660) 2023-03-23 12:52:20 -04:00
nav.tmpl
navbar.tmpl
options.tmpl Use data-tooltip-content for tippy tooltip (#23649) 2023-03-24 18:35:38 +08:00
protected_branch.tmpl Allow both fullname and username search when DEFAULT_SHOW_FULL_NAME is true (#23463) 2023-03-16 11:32:25 -05:00
runner_edit.tmpl
runners.tmpl
secrets.tmpl
tags.tmpl Allow both fullname and username search when DEFAULT_SHOW_FULL_NAME is true (#23463) 2023-03-16 11:32:25 -05:00