master
ByteList 2019-02-01 11:16:51 +01:00
parent 20358b29b8
commit b254f31a7e
1 changed files with 2 additions and 1 deletions

View File

@ -132,7 +132,6 @@ func Dashboard(ctx *context.Context) { // showing dashboard see routes.go:417
}
ctx.Data["MirrorCount"] = len(mirrors)
ctx.Data["Mirrors"] = mirrors
ctx.Data["Repos"] = mirrors
retrieveFeeds(ctx, models.GetFeedsOptions{
RequestedUser: ctxUser,
@ -398,6 +397,8 @@ func showOrgProfile(ctx *context.Context) {
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 {