mirror of
https://github.com/go-gitea/gitea.git
synced 2026-10-09 05:13:05 +02:00
Merge branch 'master' of github.com:gogits/gogs
This commit is contained in:
commit
18ba149137
10 files changed
+86
-44
No files matched your search
@@ -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