File tree Expand file tree Collapse file tree 1 file changed +19
-14
lines changed
Expand file tree Collapse file tree 1 file changed +19
-14
lines changed Original file line number Diff line number Diff line change @@ -101,20 +101,25 @@ project_buttons_partial: project/releases-buttons.html.haml
101101 = series.version
102102 %tbody
103103 - project_description.integrations.each_pair do |integration_id, integration|
104- %tr
105- %td.left.aligned
106- %a{:href => " #{ integration[' url' ] } " }
107- = integration[" name" ]
108- - project_description.active_release_series.each do |series|
109- - constraint = series.integration_constraints[integration_id]
110- - if constraint == nil
111- %td.disabled
112- N/A
113- - else
114- %td
115- :asciidoc
116- :doctype: inline
117- #{constraint.version}
104+ - has_constraint = false
105+ - project_description.active_release_series.each do |series|
106+ - if series.integration_constraints[integration_id]
107+ - has_constraint = true
108+ - if has_constraint
109+ %tr
110+ %td.left.aligned
111+ %a{:href => " #{ integration[' url' ] } " }
112+ = integration[" name" ]
113+ - project_description.active_release_series.each do |series|
114+ - constraint = series.integration_constraints[integration_id]
115+ - if constraint == nil
116+ %td.disabled
117+ N/A
118+ - else
119+ %td
120+ :asciidoc
121+ :doctype: inline
122+ #{constraint.version}
118123 %p
119124 See also the
120125 %a {:href => " /community/compatibility-policy" }
You can’t perform that action at this time.
0 commit comments