1
0
Fork 0
forked from forgejo/forgejo

#1984 Better mirror repo management

This commit is contained in:
Unknwon 2015-12-08 20:06:12 -05:00
parent 1cbd4c01fb
commit 120cd4e471
16 changed files with 128 additions and 60 deletions

View file

@ -129,6 +129,7 @@ func RepoAssignment(args ...bool) macaron.Handler {
return
}
ctx.Data["MirrorInterval"] = ctx.Repo.Mirror.Interval
ctx.Data["Mirror"] = ctx.Repo.Mirror
}
ctx.Repo.Repository = repo