mirror of
https://github.com/go-gitea/gitea
synced 2025-07-07 02:57:20 +00:00
fix #1957 - disable version display
This allows the admin to disable the version information about gogs and go in use in the footer.
This commit is contained in:
@ -245,6 +245,7 @@ func Contexter() macaron.Handler {
|
||||
|
||||
ctx.Data["ShowRegistrationButton"] = setting.Service.ShowRegistrationButton
|
||||
ctx.Data["ShowFooterBranding"] = setting.ShowFooterBranding
|
||||
ctx.Data["ShowFooterVersion"] = setting.ShowFooterVersion
|
||||
|
||||
c.Map(ctx)
|
||||
}
|
||||
|
Reference in New Issue
Block a user