From 8de9517862acd77c27da015654fc236a6722d188 Mon Sep 17 00:00:00 2001 From: Unknown Date: Sun, 16 Mar 2014 03:41:22 -0400 Subject: [PATCH] Mirror fix --- routers/dashboard.go | 4 ++++ routers/repo/single.go | 12 ++++++++++++ routers/user/user.go | 12 ++++++++++++ templates/base/navbar.tmpl | 3 +-- templates/repo/setting.tmpl | 2 +- templates/repo/single.tmpl | 6 +++--- web.go | 8 ++++++++ 7 files changed, 41 insertions(+), 6 deletions(-) diff --git a/routers/dashboard.go b/routers/dashboard.go index cab1662fc..ddaef0cb5 100644 --- a/routers/dashboard.go +++ b/routers/dashboard.go @@ -17,3 +17,7 @@ func Home(ctx *middleware.Context) { ctx.Data["PageIsHome"] = true ctx.Render.HTML(200, "home", ctx.Data) } + +func Help(ctx *middleware.Context) string { + return "This is help page" +} diff --git a/routers/repo/single.go b/routers/repo/single.go index a7f07898f..a0f444716 100644 --- a/routers/repo/single.go +++ b/routers/repo/single.go @@ -60,3 +60,15 @@ func Setting(ctx *middleware.Context) { ctx.Data["IsRepoToolbarSetting"] = true ctx.Render.HTML(200, "repo/setting", ctx.Data) } + +func Commits(ctx *middleware.Context) string { + return "This is commits page" +} + +func Issues(ctx *middleware.Context) string { + return "This is issues page" +} + +func Pulls(ctx *middleware.Context) string { + return "This is pulls page" +} diff --git a/routers/user/user.go b/routers/user/user.go index 8d8691a39..e13f6909d 100644 --- a/routers/user/user.go +++ b/routers/user/user.go @@ -189,3 +189,15 @@ func Feeds(ctx *middleware.Context, form auth.FeedsForm) { } ctx.Render.JSON(200, &feeds) } + +func Issues(ctx *middleware.Context) string { + return "This is issues page" +} + +func Pulls(ctx *middleware.Context) string { + return "This is pulls page" +} + +func Stars(ctx *middleware.Context) string { + return "This is stars page" +} diff --git a/templates/base/navbar.tmpl b/templates/base/navbar.tmpl index 3fe0c1147..181beb5a4 100644 --- a/templates/base/navbar.tmpl +++ b/templates/base/navbar.tmpl @@ -3,8 +3,7 @@