remove collaborative repositories from search on user profiles (#3996)

* remove collaborative repositories from search on user profiles

* rename 'My Repositories' to 'Repositories'
tokarchuk/v1.17
David Schneiderbauer 7 years ago committed by Lauris BH
parent 08c9617caa
commit 31067c0a89
  1. 2
      options/locale/locale_en-US.ini
  2. 1
      routers/user/profile.go

@ -168,7 +168,7 @@ no_reply_address_helper = Domain name for users with a hidden email address. For
uname_holder = Username or Email Address
password_holder = Password
switch_dashboard_context = Switch Dashboard Context
my_repos = My Repositories
my_repos = Repositories
show_more_repos = Show more repositories…
collaborative_repos = Collaborative Repositories
my_orgs = My Organizations

@ -208,6 +208,7 @@ func Profile(ctx *context.Context) {
Page: page,
IsProfile: true,
PageSize: setting.UI.User.RepoPagingNum,
Collaborate: util.OptionalBoolFalse,
})
if err != nil {
ctx.ServerError("SearchRepositoryByName", err)

Loading…
Cancel
Save