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