mirror of
https://github.com/go-gitea/gitea
synced 2025-07-22 18:28:37 +00:00
Merge branch 'master' of github.com:gogits/gogs
This commit is contained in:
@@ -28,3 +28,14 @@ func Single(params martini.Params, r render.Render, data base.TmplData) {
|
||||
|
||||
r.HTML(200, "repo/single", data)
|
||||
}
|
||||
|
||||
func Setting(r render.Render, data base.TmplData) {
|
||||
if !data["IsRepositoryValid"].(bool) {
|
||||
return
|
||||
}
|
||||
|
||||
data["Title"] = data["Title"].(string) + " - settings"
|
||||
data["IsRepoToolbarSetting"] = true
|
||||
|
||||
r.HTML(200, "repo/setting", data)
|
||||
}
|
||||
|
Reference in New Issue
Block a user