mirror of
https://gitlink.org.cn/Gitlink/forgeplus.git
synced 2026-05-02 19:30:48 +08:00
禁止pr访问标识
This commit is contained in:
@@ -10,6 +10,7 @@ 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
|
||||
json.disable_pr_vew @project.pr_view_admin? && !@project.manager?(current_user)
|
||||
|
||||
json.issues do
|
||||
json.array! @issues.to_a do |issue|
|
||||
|
||||
Reference in New Issue
Block a user