禁止pr访问标识

This commit is contained in:
xxqfamous 2023-06-07 11:03:49 +08:00 committed by chenjing
parent fb4a44a6fa
commit d407b3c674
1 changed files with 0 additions and 3 deletions

View File

@ -10,11 +10,8 @@ json.project_name @project.name
json.project_author @project.owner.try(:login)
json.project_author_name @project.owner.try(:show_real_name)
json.has_created_pull_requests @project.pull_requests.size > 0
<<<<<<< 74dcdebe5ebf2bf33c242d7cdffe9497372406ca
json.disable_pr_vew @project.pr_view_admin? && !@project.manager?(current_user)
=======
json.pr_need @project.owner&.cla.try(:pr_need)
>>>>>>> cla pr and destroy user_cla
json.issues do
json.array! @issues.to_a do |issue|