mirror of
https://gitcode.com/gitea/gitea.git
synced 2025-08-06 09:39:44 +08:00
Merge branch 'dev' of github.com:gogits/gogs into dev
This commit is contained in:
@ -31,7 +31,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)
|
||||
|
@ -6,6 +6,17 @@ import (
|
||||
)
|
||||
|
||||
func Organization(ctx *middleware.Context, params martini.Params) {
|
||||
ctx.Data["Title"] = "Organization Name" + params["org"]
|
||||
ctx.Data["Title"] = "Organization " + params["org"]
|
||||
ctx.HTML(200, "org/org")
|
||||
}
|
||||
|
||||
func Members(ctx *middleware.Context,params martini.Params){
|
||||
ctx.Data["Title"] = "Organization " + params["org"]+" Members"
|
||||
ctx.HTML(200,"org/members")
|
||||
}
|
||||
|
||||
func Teams(ctx *middleware.Context,params martini.Params){
|
||||
ctx.Data["Title"] = "Organization " + params["org"]+" Teams"
|
||||
ctx.HTML(200,"org/teams")
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user