- Add a repo-circle directive and change all repo icons uses to it
- Have the repo-circle directive show the padlock in all places - Mention SSL on the landing page and the pricing page
This commit is contained in:
parent
7884fef5f3
commit
d51ab5952b
9 changed files with 80 additions and 35 deletions
|
@ -202,10 +202,13 @@ def match_repos_api():
|
|||
@app.route('/api/repository/', methods=['GET'])
|
||||
def list_repos_api():
|
||||
def repo_view(repo_obj):
|
||||
is_public = model.repository_is_public(repo_obj.namespace, repo_obj.name)
|
||||
|
||||
return {
|
||||
'namespace': repo_obj.namespace,
|
||||
'name': repo_obj.name,
|
||||
'description': repo_obj.description,
|
||||
'is_public': is_public
|
||||
}
|
||||
|
||||
limit = request.args.get('limit', None)
|
||||
|
|
Reference in a new issue