#2037 Add "New Mirror" button on Dashboard
This commit is contained in:
parent
15d62bba82
commit
b8d48bdb62
5 changed files with 917 additions and 701 deletions
|
@ -139,6 +139,7 @@ func Migrate(ctx *middleware.Context) {
|
|||
ctx.Data["Title"] = ctx.Tr("new_migrate")
|
||||
ctx.Data["private"] = ctx.User.LastRepoVisibility
|
||||
ctx.Data["IsForcedPrivate"] = setting.Repository.ForcePrivate
|
||||
ctx.Data["mirror"] = ctx.Query("mirror") == "1"
|
||||
|
||||
ctxUser := checkContextUser(ctx, ctx.QueryInt64("org"))
|
||||
if ctx.Written() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue