forgejo/templates/repo/settings
wxiaoguang a649610d61
Fix "force private" logic (#31012)
When creating a repo, the "FORCE_PRIVATE" config option should be
respected, `readonly` doesn't work for checkbox, so it should use
`disabled` attribute.

(cherry picked from commit edbf74c418061b013a5855f604dd6be6baf34132)

Conflicts:
	templates/repo/create.tmpl
	templates/repo/migrate/codebase.tmpl
	templates/repo/migrate/git.tmpl
	templates/repo/migrate/gitbucket.tmpl
	templates/repo/migrate/gitea.tmpl
	templates/repo/migrate/github.tmpl
	templates/repo/migrate/gitlab.tmpl
	templates/repo/migrate/gogs.tmpl
	templates/repo/migrate/onedev.tmpl
	already in forgejo fc0c5e80da Fix and improve repo visibility checkbox when FORCE_PRIVATE is on (#3786)
        enforcing FORCE_PRIVATE on repo settings was manually tested
	with a repository of an unprivileged user after setting
	FORCE_PRIVATE = true
2024-05-26 18:20:33 +02:00
..
units UI: Disable internal wiki options when enabling external wiki 2024-04-29 20:29:00 +02:00
webhook
actions.tmpl
branches.tmpl
collaboration.tmpl Remove obsolete CSS text classes (#30576) 2024-04-28 15:39:00 +02:00
deploy_keys.tmpl template: label fix correct input id 2024-05-15 23:13:05 +02:00
githook_edit.tmpl
githooks.tmpl
layout_footer.tmpl
layout_head.tmpl
lfs.tmpl
lfs_file.tmpl
lfs_file_find.tmpl
lfs_locks.tmpl
lfs_pointers.tmpl
navbar.tmpl
options.tmpl Fix "force private" logic (#31012) 2024-05-26 18:20:33 +02:00
protected_branch.tmpl
push_mirror_sync_modal.tmpl
runner_edit.tmpl
secrets.tmpl
tags.tmpl
units.tmpl