summaryrefslogtreecommitdiffstats
path: root/routers/admin/admin.go
diff options
context:
space:
mode:
authorUnknwon <joe2010xtmf@163.com>2014-08-28 22:29:00 +0800
committerUnknwon <joe2010xtmf@163.com>2014-08-28 22:29:00 +0800
commit1aec1a2ddae3a3714d6a167d85fcc1c69413b660 (patch)
tree07fb6534ac71aea4edca41d39ececd7d81976b04 /routers/admin/admin.go
parent81287ba022ae906f1f9eb5b1324567cd93771b4e (diff)
downloadgitea-1aec1a2ddae3a3714d6a167d85fcc1c69413b660.tar.gz
gitea-1aec1a2ddae3a3714d6a167d85fcc1c69413b660.zip
Finish new admin dashboard
Diffstat (limited to 'routers/admin/admin.go')
-rw-r--r--routers/admin/admin.go5
1 files changed, 3 insertions, 2 deletions
diff --git a/routers/admin/admin.go b/routers/admin/admin.go
index 4091cb8999..ebc446b820 100644
--- a/routers/admin/admin.go
+++ b/routers/admin/admin.go
@@ -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()