Make sure to show public repos on the user and orgs pages
This commit is contained in:
parent
2d8237bd83
commit
4cb7921c3a
6 changed files with 23 additions and 8 deletions
|
@ -3,6 +3,10 @@
|
|||
margin-left: 6px;
|
||||
}
|
||||
|
||||
.user-view .user-repo-list {
|
||||
padding: 20px;
|
||||
}
|
||||
|
||||
.user-view h3 {
|
||||
margin-bottom: 20px;
|
||||
margin-top: 0px;
|
||||
|
|
|
@ -31,9 +31,7 @@
|
|||
|
||||
var loadRepositories = function() {
|
||||
var options = {
|
||||
'public': false,
|
||||
'private': true,
|
||||
'sort': true,
|
||||
'namespace_only': true,
|
||||
'namespace': orgname,
|
||||
};
|
||||
|
||||
|
|
|
@ -22,9 +22,8 @@
|
|||
|
||||
var loadRepositories = function() {
|
||||
var options = {
|
||||
'public': false,
|
||||
'private': true,
|
||||
'sort': true,
|
||||
'namespace_only': true,
|
||||
'namespace': username,
|
||||
};
|
||||
|
||||
|
|
|
@ -10,7 +10,15 @@
|
|||
</span>
|
||||
</div>
|
||||
|
||||
<div class="cor-tab-panel">
|
||||
<div class="co-main-content-panel user-repo-list" ng-if="!user.is_me">
|
||||
<div class="repo-list-grid"
|
||||
repositories-resource="repositoriesResource"
|
||||
starred="false"
|
||||
namespace="namespace"
|
||||
hide-title="true"></div>
|
||||
</div>
|
||||
|
||||
<div class="cor-tab-panel" ng-if="user.is_me">
|
||||
<div class="cor-tabs" quay-show="user.is_me">
|
||||
<span class="cor-tab" tab-active="true" tab-title="Repositories" tab-target="#repos">
|
||||
<i class="fa fa-hdd-o"></i>
|
||||
|
|
Reference in a new issue