mirror of
https://github.com/gogs/gogs.git
synced 2026-05-06 19:46:11 +02:00
admin: show all version in dashboard
And removed version info from footer.
This commit is contained in:
@@ -13,7 +13,7 @@ import (
|
||||
func TemplatePreview(c *context.Context) {
|
||||
c.Data["User"] = db.User{Name: "Unknown"}
|
||||
c.Data["AppName"] = setting.AppName
|
||||
c.Data["AppVer"] = setting.AppVer
|
||||
c.Data["AppVersion"] = setting.AppVersion
|
||||
c.Data["AppURL"] = setting.AppURL
|
||||
c.Data["Code"] = "2014031910370000009fff6782aadb2162b4a997acb69d4400888e0b9274657374"
|
||||
c.Data["ActiveCodeLives"] = setting.Service.ActiveCodeLives / 60
|
||||
|
||||
Reference in New Issue
Block a user