milestone: list view

This commit is contained in:
Unknwon 2015-08-03 17:42:09 +08:00
parent 8e8d535e23
commit 04458d49a0
16 changed files with 274 additions and 131 deletions

File diff suppressed because one or more lines are too long

View file

@ -348,7 +348,7 @@ func RepoAssignment(redirect bool, args ...bool) macaron.Handler {
}
}
func RequireAdmin() macaron.Handler {
func RequireRepoAdmin() macaron.Handler {
return func(ctx *Context) {
if ctx.Repo.AccessMode < models.ACCESS_MODE_ADMIN {
if !ctx.IsSigned {