1
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2024-11-21 08:31:27 -05:00
forgejo/templates
Chongyi Zheng c333b4d499
Fix issue that sync_on_commit is not set (#21309)
<!--

Please check the following:

1. Make sure you are targeting the `main` branch, pull requests on
release branches are only allowed for bug fixes.
2. Read contributing guidelines:
https://github.com/go-gitea/gitea/blob/main/CONTRIBUTING.md
3. Describe what your pull request does and which issue you're targeting
(if any)

-->  
Fixes #21308.

With the original frontend template
`templates/repo/settings/options.tmpl`, the field
`push_mirror_sync_on_commit` is always empty even when checkbox is
checked. Removing `value` from the input tag seems to solve the issue,
and will set `push_mirror_sync_on_commit: on` when the checkbox is
checked.

(I'm not familiar with the frontend logics Gitea is using, so I don't
really understand the cause of it)
2022-10-01 16:07:05 +03:00
..
admin Fix template bug of admin monitor (#21208) 2022-09-19 20:53:39 -04:00
api/packages/pypi Add Package Registry (#16510) 2022-03-30 16:42:47 +08:00
base Add pages to view watched repos and subscribed issues/PRs (#17156) 2022-09-29 22:09:14 +03:00
custom Add footer extra links template (#9576) 2020-01-03 20:41:56 +02:00
explore Add whitespace removal inside template curly brackes (#20853) 2022-08-25 17:55:52 -04:00
mail Make sure fmt catches all templates (#20979) 2022-08-31 23:58:54 +08:00
org Skip dirty check for team forms (#21154) 2022-09-14 13:24:39 +02:00
package Fix empty container layer history and UI (#21251) 2022-09-27 15:03:24 +02:00
repo Fix issue that sync_on_commit is not set (#21309) 2022-10-01 16:07:05 +03:00
shared Do not add links to Posters or Assignees with ID < 0 (#20577) 2022-09-03 10:33:34 +01:00
status Remove fomantic image module (#21145) 2022-09-12 17:08:46 +08:00
swagger Add name field for org api (#21270) 2022-09-29 05:27:33 +02:00
user Add pages to view watched repos and subscribed issues/PRs (#17156) 2022-09-29 22:09:14 +03:00
home.tmpl Refactor i18n to locale (#20153) 2022-06-27 15:58:46 -05:00
install.tmpl Rework mailer settings (#18982) 2022-08-02 13:24:18 +08:00
post-install.tmpl Rename StaticUrlPrefix to AssetUrlPrefix (#15779) 2021-05-08 16:27:25 +02:00