diff options
Diffstat (limited to 'templates')
-rw-r--r-- | templates/swagger/v1_json.tmpl | 4 | ||||
-rw-r--r-- | templates/user/dashboard/repolist.tmpl | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/templates/swagger/v1_json.tmpl b/templates/swagger/v1_json.tmpl index a6b24ed970..b7fa714a64 100644 --- a/templates/swagger/v1_json.tmpl +++ b/templates/swagger/v1_json.tmpl @@ -1771,8 +1771,8 @@ }, { "type": "boolean", - "description": "only include private repositories this user has access to (defaults to false)", - "name": "onlyPrivate", + "description": "show only pubic, private or all repositories (defaults to all)", + "name": "is_private", "in": "query" }, { diff --git a/templates/user/dashboard/repolist.tmpl b/templates/user/dashboard/repolist.tmpl index dc1507403c..93dda77d24 100644 --- a/templates/user/dashboard/repolist.tmpl +++ b/templates/user/dashboard/repolist.tmpl @@ -101,7 +101,7 @@ </div> <div class="ui attached table segment"> <ul class="repo-owner-name-list"> - <li v-for="repo in repos" :class="{'private': repo.private}" v-show="showRepo(repo)"> + <li v-for="repo in repos" :class="{'private': repo.private}"> <a :href="suburl + '/' + repo.full_name"> <svg :class="'svg ' + repoClass(repo)" width="16" height="16" aria-hidden="true"><use :xlink:href="'#' + repoClass(repo)" /></svg> <strong class="text truncate item-name">${repo.full_name}</strong> |