mirror of
https://github.com/go-gitea/gitea.git
synced 2026-10-08 16:22:51 +02:00
Finish new home page of organization
This commit is contained in:
1 parent
7af7584d25
commit
5fbf8531e6
27 files changed
+445
-142
No files matched your search
@@ -73,6 +73,10 @@ func Dashboard(ctx *middleware.Context) {
|
||||
mirrors := make([]*models.Repository, 0, len(repos)/2)
|
||||
for _, repo := range repos {
|
||||
if repo.IsMirror {
|
||||
if err = repo.GetMirror(); err != nil {
|
||||
ctx.Handle(500, "GetMirror: "+repo.Name, err)
|
||||
return
|
||||
}
|
||||
mirrors = append(mirrors, repo)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user