]> source.dussan.org Git - sonarqube.git/commitdiff
Fix display of review commands on 'global' violations
authorSimon Brandhof <simon.brandhof@gmail.com>
Mon, 11 Jun 2012 12:30:58 +0000 (14:30 +0200)
committerSimon Brandhof <simon.brandhof@gmail.com>
Mon, 11 Jun 2012 12:32:05 +0000 (14:32 +0200)
sonar-server/src/main/webapp/WEB-INF/app/views/resource/index.html.erb

index 297f14023b731328178e32a73c4484b8449c457b..1f452a265e91bb9f210d1a1a5e74bb27a0860a83 100644 (file)
@@ -5,7 +5,7 @@
   <table id="global_violations" cellpadding="0" cellspacing="0" border="0">
     <% @global_violations.each do |violation| %>
       <tr>
-        <td><%= render :partial => 'violation', :locals => {:violation => violation} -%></td>
+        <td><%= render :partial => 'violation', :locals => {:violation => violation, :review_screens => @review_screens_by_vid ? @review_screens_by_vid.get(violation.id) : []} -%></td>
       </tr>
     <% end %>
   </table>