Browse Source

readd 'dashboard' to title

Alec S 9 năm trước cách đây
mục cha
commit
792c13cf0a
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      routers/user/home.go

+ 1 - 1
routers/user/home.go

@@ -84,7 +84,7 @@ func retrieveFeeds(ctx *middleware.Context, ctxUserID, userID, offset int64, isP
 
 func Dashboard(ctx *middleware.Context) {
 	ctxUser := getDashboardContextUser(ctx)
-	ctx.Data["Title"] = ctxUser.DisplayName()
+	ctx.Data["Title"] = ctxUser.DisplayName() + " - " + ctx.Tr("dashboard")
 	ctx.Data["PageIsDashboard"] = true
 	ctx.Data["PageIsNews"] = true