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.
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)
2 years ago
..
admin Fix template bug of admin monitor (#21208) 2 years ago
api/packages/pypi Add Package Registry (#16510) 2 years ago
base Add pages to view watched repos and subscribed issues/PRs (#17156) 2 years ago
custom Add footer extra links template (#9576) 5 years ago
explore Add whitespace removal inside template curly brackes (#20853) 2 years ago
mail Make sure fmt catches all templates (#20979) 2 years ago
org Skip dirty check for team forms (#21154) 2 years ago
package Fix empty container layer history and UI (#21251) 2 years ago
repo Fix issue that `sync_on_commit` is not set (#21309) 2 years ago
shared Do not add links to Posters or Assignees with ID < 0 (#20577) 2 years ago
status Remove fomantic image module (#21145) 2 years ago
swagger Add name field for org api (#21270) 2 years ago
user Add pages to view watched repos and subscribed issues/PRs (#17156) 2 years ago
home.tmpl Refactor `i18n` to `locale` (#20153) 2 years ago
install.tmpl Rework mailer settings (#18982) 2 years ago
post-install.tmpl Rename StaticUrlPrefix to AssetUrlPrefix (#15779) 3 years ago