Browse Source

Fix renaming bug (#1786)

tags/v1.21.12.1
Ethan Koenig Bo-Yi Wu 8 years ago
parent
commit
ff2464c87d
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      routers/repo/repo.go

+ 1
- 1
routers/repo/repo.go View File

@@ -68,7 +68,7 @@ func checkContextUser(ctx *context.Context, uid int64) *models.User {
// Create render creating repository page
func Create(ctx *context.Context) {
if !ctx.User.CanCreateRepo() {
ctx.RenderWithErr(ctx.Tr("repo.form.reach_limit_of_creation", ctx.User.RepoCreationNum()), tplCreate, nil)
ctx.RenderWithErr(ctx.Tr("repo.form.reach_limit_of_creation", ctx.User.MaxCreationLimit()), tplCreate, nil)
}

ctx.Data["Title"] = ctx.Tr("new_repo")


Loading…
Cancel
Save