mirror of
https://gitcode.com/gitea/gitea.git
synced 2025-05-28 13:20:20 +08: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