mirror of
https://gitlink.org.cn/Gitlink/forgeplus.git
synced 2026-05-02 19:30:48 +08:00
新增: 合并请求审查需审查权限
This commit is contained in:
@@ -7,6 +7,18 @@ json.commits_count @gitea_pull["commit_num"]
|
||||
json.files_count @gitea_pull["changed_files"]
|
||||
json.comments_count @issue.journals.parent_journals.size
|
||||
json.comments_total_count @issue.get_journals_size
|
||||
json.assign_user do
|
||||
json.partial! 'users/user_simple', user: @issue_assign_to
|
||||
end
|
||||
|
||||
json.author do
|
||||
json.partial! 'users/user_simple', user: @issue_user
|
||||
end
|
||||
|
||||
json.last_review do
|
||||
json.(@last_review, :id, :commit_id, :content, :status)
|
||||
json.created_at format_time(@last_review.created_at)
|
||||
end
|
||||
|
||||
json.pull_request do
|
||||
json.extract! @pull_request, :id,:base, :head, :status,:fork_project_id, :is_original
|
||||
|
||||
Reference in New Issue
Block a user