master
ByteList 2019-02-01 11:28:53 +01:00
parent b254f31a7e
commit ba060a5e27
1 changed files with 2 additions and 4 deletions

View File

@ -87,6 +87,8 @@ func retrieveFeeds(ctx *context.Context, options models.GetFeedsOptions) {
act.Repo.Owner = repoOwner
}
ctx.Data["Feeds"] = actions
fmt.Println("Repos: ", ctx.Data["Repos"])
}
// Dashboard render the dashborad page
@ -395,10 +397,6 @@ func showOrgProfile(ctx *context.Context) {
err error
)
fmt.Println("[DEBUG/user/home.go] ctx.IsSigned, ctx.User.IsAdmin: ", ctx.IsSigned, ", ", ctx.User.IsAdmin, " = ", ctx.IsSigned && ctx.User.IsAdmin)
fmt.Println("[DEBUG/user/home.go] ctx.User.Name: ", ctx.User.Name)
if ctx.IsSigned && !ctx.User.IsAdmin {
env, err := org.AccessibleReposEnv(ctx.User.ID)
if err != nil {