1
1
mirror of https://github.com/go-gitea/gitea synced 2025-07-12 13:37:20 +00:00

Finish new admin dashboard

This commit is contained in:
Unknwon
2014-08-28 22:29:00 +08:00
parent 81287ba022
commit 1aec1a2dda
19 changed files with 360 additions and 167 deletions

View File

@ -123,8 +123,9 @@ const (
)
func Dashboard(ctx *middleware.Context) {
ctx.Data["Title"] = "Admin Dashboard"
ctx.Data["PageIsDashboard"] = true
ctx.Data["Title"] = ctx.Tr("admin.dashboard")
ctx.Data["PageIsAdmin"] = true
ctx.Data["PageIsAdminDashboard"] = true
// Run operation.
op, _ := com.StrTo(ctx.Query("op")).Int()