mirror of
https://gitee.com/gitea/gitea
synced 2026-01-03 06:06:35 +08:00
add dashboard context switch button
This commit is contained in:
@@ -26,7 +26,7 @@ func Home(ctx *middleware.Context) {
|
||||
|
||||
ctx.Data["PageIsHome"] = true
|
||||
|
||||
// Show recent updated repositoires for new visiters.
|
||||
// Show recent updated repositories for new visitors.
|
||||
repos, err := models.GetRecentUpdatedRepositories()
|
||||
if err != nil {
|
||||
ctx.Handle(500, "dashboard.Home(GetRecentUpdatedRepositories)", err)
|
||||
|
||||
Reference in New Issue
Block a user