aboutsummaryrefslogtreecommitdiff
path: root/internal/route/dev/template.go
diff options
context:
space:
mode:
authorᴜɴᴋɴᴡᴏɴ <u@gogs.io>2020-02-19 17:25:50 +0800
committerᴜɴᴋɴᴡᴏɴ <u@gogs.io>2020-02-19 17:32:56 +0800
commitea75f01ba2e8ba97d3ca101db3a844c76c49d737 (patch)
tree5a724201264c73339d3c0813db25776220d0e8d9 /internal/route/dev/template.go
parent3a2b2de8141b5843892e64f9c165c1d7afb3724a (diff)
admin: show all version in dashboard
And removed version info from footer.
Diffstat (limited to 'internal/route/dev/template.go')
-rw-r--r--internal/route/dev/template.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/route/dev/template.go b/internal/route/dev/template.go
index 38e35b39..be1fe360 100644
--- a/internal/route/dev/template.go
+++ b/internal/route/dev/template.go
@@ -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