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
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
..
admin Improve queue & process & stacktrace (#24636) 2 years ago
api/packages/pypi
base Improve template system and panic recovery (#24461) 2 years ago
code
custom
devtest Improve button-ghost, remove tertiary button (#24692) 2 years ago
explore Change `join_on` translation to `joined_on` and include placeholder for the date (#24550) 2 years ago
mail
org Remove svg.svg class, restore .rss-icon (#24667) 2 years ago
package Add Go package registry (#24687) 2 years ago
projects Update pin and add pin-slash (#24669) 2 years ago
repo Refactor Pull Mirror and fix out-of-sync bugs (#24732) 2 years ago
shared Clean up various avatar dimensions (#24701) 2 years ago
status Improve template system and panic recovery (#24461) 2 years ago
swagger Add Go package registry (#24687) 2 years ago
user Improve button-ghost, remove tertiary button (#24692) 2 years ago
home.tmpl
install.tmpl Unification of registration fields order (#24737) 2 years ago
post-install.tmpl