mirror of
https://gitee.com/gitea/gitea
synced 2025-12-28 11:16:35 +08:00
Add Repository/user name filter
This commit is contained in:
@@ -217,6 +217,11 @@ func Setting(ctx *middleware.Context, params martini.Params) {
|
||||
title = t
|
||||
}
|
||||
|
||||
if len(params["branchname"]) == 0 {
|
||||
params["branchname"] = "master"
|
||||
}
|
||||
|
||||
ctx.Data["Branchname"] = params["branchname"]
|
||||
ctx.Data["Title"] = title + " - settings"
|
||||
ctx.HTML(200, "repo/setting")
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user