mirror of
https://gitcode.com/gitea/gitea.git
synced 2025-06-25 22:36:53 +08:00
Merge branch 'master' of github.com:gogits/gogs
This commit is contained in:
@ -73,7 +73,6 @@ func Single(ctx *middleware.Context, params martini.Params) {
|
||||
ctx.Data["Paths"] = Paths
|
||||
ctx.Data["Treenames"] = treenames
|
||||
ctx.Data["IsRepoToolbarSource"] = true
|
||||
ctx.Data["IsRepositoryOwner"] = strings.ToLower(params["username"]) == ctx.User.LowerName
|
||||
ctx.Data["Files"] = files
|
||||
ctx.Render.HTML(200, "repo/single", ctx.Data)
|
||||
}
|
||||
@ -90,7 +89,6 @@ func Setting(ctx *middleware.Context, params martini.Params) {
|
||||
|
||||
ctx.Data["Title"] = title + " - settings"
|
||||
ctx.Data["IsRepoToolbarSetting"] = true
|
||||
ctx.Data["IsRepositoryOwner"] = strings.ToLower(params["username"]) == ctx.User.LowerName
|
||||
ctx.Render.HTML(200, "repo/setting", ctx.Data)
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user