diff options
author | lunnyxiao <xiaolunwen@gmail.com> | 2014-08-29 11:25:03 +0800 |
---|---|---|
committer | lunnyxiao <xiaolunwen@gmail.com> | 2014-08-29 11:25:03 +0800 |
commit | a6ec6def8dde232cf250e95ef95b14950031771e (patch) | |
tree | 892e5eb38fd4057aebc9576dcd88e23dcfd85772 /routers | |
parent | c40e815763f8360b892cc5bbdd09725c1df6902f (diff) | |
parent | 1aec1a2ddae3a3714d6a167d85fcc1c69413b660 (diff) |
Merge branch 'dev' of github.com:gogits/gogs into dev
Diffstat (limited to 'routers')
-rw-r--r-- | routers/admin/admin.go | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/routers/admin/admin.go b/routers/admin/admin.go index 4091cb89..ebc446b8 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() |