mirror of
https://github.com/go-gitea/gitea
synced 2025-07-22 18:28:37 +00: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