1
1
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:
fuxiaohei
2014-06-22 14:10:12 +08:00
parent c280415e0b
commit bf703ef617
4 changed files with 57 additions and 2 deletions

View File

@@ -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)