forked from forgejo/forgejo
Finish new home page of organization
This commit is contained in:
parent
7af7584d25
commit
5fbf8531e6
27 changed files with 445 additions and 142 deletions
|
@ -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)
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue