You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
563 B
14 lines
563 B
json.identifier @repo.identifier
|
|
json.project_id @project.id
|
|
json.project_identifier @project.identifier
|
|
json.praises_count @repo.project.praises_count
|
|
json.forked_count @repo.project.forked_count
|
|
json.watchers_count @repo.project.watchers_count
|
|
json.branches_count @branches_count
|
|
json.commits_count @commits_count
|
|
json.permission render_edit_project_permission(current_user, @project)
|
|
json.mirror_url @repo.mirror_url
|
|
json.watched current_user&.watched?(@project)
|
|
json.praised current_user&.liked?(@project)
|
|
json.partial! 'author', locals: { user: @repo.user }
|