cla pr and destroy user_cla

This commit is contained in:
chenjing
2023-06-16 10:07:06 +08:00
parent 74dcdebe5e
commit fb4a44a6fa
6 changed files with 28 additions and 9 deletions

View File

@@ -10,7 +10,11 @@ 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|