mirror of
https://gitlink.org.cn/Gitlink/forgeplus.git
synced 2026-05-02 19:30:48 +08:00
fixed detail
This commit is contained in:
@@ -51,8 +51,8 @@ if @result[:repo]
|
||||
json.private @result[:repo]['private']
|
||||
end
|
||||
json.license_name @project.license_name
|
||||
json.branches_count @result[:branch_tag_total_count]['branch_count'] || 0
|
||||
json.tags_count @result[:branch_tag_total_count]['tag_count'] || 0
|
||||
json.branches_count @result[:branch_tag_total_count].present? ? (@result[:branch_tag_total_count]['branch_count'] || 0) : 0
|
||||
json.tags_count @result[:branch_tag_total_count].present? ? (@result[:branch_tag_total_count]['tag_count'] || 0) : 0
|
||||
json.contributors do
|
||||
total_count = @result[:contributor].size
|
||||
json.list @result[:contributor].each do |contributor|
|
||||
|
||||
Reference in New Issue
Block a user