admin: show all version in dashboard

And removed version info from footer.
This commit is contained in:
ᴜɴᴋɴᴡᴏɴ
2020-02-19 17:25:50 +08:00
parent 3a2b2de814
commit ea75f01ba2
20 changed files with 164 additions and 113 deletions

View File

@@ -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