mirror of
1
Fork 0
forgejo/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)
2023-05-15 19:02:10 +00:00
..
admin Improve queue & process & stacktrace (#24636) 2023-05-11 07:45:47 +00:00
api/packages/pypi Remove incorrect HTML self close tag (#23748) 2023-03-27 18:05:51 +02:00
base Improve template system and panic recovery (#24461) 2023-05-04 14:36:34 +08:00
code Use data-tooltip-content for tippy tooltip (#23649) 2023-03-24 18:35:38 +08:00
custom Add footer extra links template (#9576) 2020-01-03 20:41:56 +02:00
devtest Improve button-ghost, remove tertiary button (#24692) 2023-05-13 20:38:22 +00:00
explore Change `join_on` translation to `joined_on` and include placeholder for the date (#24550) 2023-05-06 18:10:30 +08:00
mail Remove incorrect HTML self close tag (#23748) 2023-03-27 18:05:51 +02:00
org Remove svg.svg class, restore .rss-icon (#24667) 2023-05-12 10:23:53 +00:00
package Add Go package registry (#24687) 2023-05-14 23:38:40 +08:00
projects Update pin and add pin-slash (#24669) 2023-05-12 14:38:59 +08:00
repo Refactor Pull Mirror and fix out-of-sync bugs (#24732) 2023-05-15 19:02:10 +00:00
shared Clean up various avatar dimensions (#24701) 2023-05-14 14:15:59 +00:00
status Improve template system and panic recovery (#24461) 2023-05-04 14:36:34 +08:00
swagger Add Go package registry (#24687) 2023-05-14 23:38:40 +08:00
user Improve button-ghost, remove tertiary button (#24692) 2023-05-13 20:38:22 +00:00
home.tmpl Improve home page template, fix Sort dropdown menu flash (#23856) 2023-04-01 13:47:54 +08:00
install.tmpl Unification of registration fields order (#24737) 2023-05-15 20:29:39 +02:00
post-install.tmpl Remove incorrect HTML self close tag (#23748) 2023-03-27 18:05:51 +02:00