json.identifier @repo.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, @repo.project) json.mirror_url @repo.mirror_url json.partial! 'author', locals: { user: @repo.user }