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.
gitea/templates/repo/settings
wxiaoguang 99283415bc
Refactor Pull Mirror and fix out-of-sync bugs (#24732)
The "mirror" table and "repository" table might be out-of-sync in some
cases.

It means that "IsMirror=true" but "Mirror=nil"

This PR removes unnecessary "Mirror" field, rename "Mirror" to
"PullMirror" and fix nil panic bug.


Screenshot of changed templates:


![image](https://github.com/go-gitea/gitea/assets/2114189/c0f2bdfc-5911-43ea-b989-b19619de4235)



![image](https://github.com/go-gitea/gitea/assets/2114189/1078b41a-484f-4c06-8c2f-edb9e658275d)
2 years ago
..
webhook Fix incorrect webhook time and use relative-time to display it (#24477) 2 years ago
actions.tmpl Move secrets and runners settings to actions settings (#24200) 2 years ago
branches.tmpl Move `Rename branch` from repo settings page to the page of branches list (#24380) 2 years ago
collaboration.tmpl Modify width of ui container, fine tune css for settings pages and org header (#24315) 2 years ago
deploy_keys.tmpl Change `add_on` translation to `added_on` and include placeholder for the date (#24562) 2 years ago
githook_edit.tmpl Change to vertical navbar layout for secondary navbar for repo/user/admin settings (#24246) 2 years ago
githooks.tmpl Change to vertical navbar layout for secondary navbar for repo/user/admin settings (#24246) 2 years ago
layout_footer.tmpl Change to vertical navbar layout for secondary navbar for repo/user/admin settings (#24246) 2 years ago
layout_head.tmpl Change to vertical navbar layout for secondary navbar for repo/user/admin settings (#24246) 2 years ago
lfs.tmpl Improve some modal action buttons (#24289) 2 years ago
lfs_file.tmpl Change to vertical navbar layout for secondary navbar for repo/user/admin settings (#24246) 2 years ago
lfs_file_find.tmpl Change to vertical navbar layout for secondary navbar for repo/user/admin settings (#24246) 2 years ago
lfs_locks.tmpl Change to vertical navbar layout for secondary navbar for repo/user/admin settings (#24246) 2 years ago
lfs_pointers.tmpl Change to vertical navbar layout for secondary navbar for repo/user/admin settings (#24246) 2 years ago
nav.tmpl Move secrets and runners settings to actions settings (#24200) 2 years ago
navbar.tmpl Move secrets and runners settings to actions settings (#24200) 2 years ago
options.tmpl Refactor Pull Mirror and fix out-of-sync bugs (#24732) 2 years ago
protected_branch.tmpl Replace `N/A` with `-` everywhere (#24474) 2 years ago
runner_edit.tmpl Change to vertical navbar layout for secondary navbar for repo/user/admin settings (#24246) 2 years ago
secrets.tmpl Change to vertical navbar layout for secondary navbar for repo/user/admin settings (#24246) 2 years ago
tags.tmpl Modify width of ui container, fine tune css for settings pages and org header (#24315) 2 years ago