summaryrefslogtreecommitdiffstats
path: root/sonar-server
diff options
context:
space:
mode:
authorSimon Brandhof <simon.brandhof@gmail.com>2012-06-11 14:30:58 +0200
committerSimon Brandhof <simon.brandhof@gmail.com>2012-06-11 14:32:05 +0200
commit7076d0b558fee983cbb078f2ce3eedca3ab4bf31 (patch)
tree6a77b93f036f9087fb1627bb0697227ba417a1c9 /sonar-server
parent0e7966c07c8015f2a16e91ac4741690c4e2cf7e2 (diff)
downloadsonarqube-7076d0b558fee983cbb078f2ce3eedca3ab4bf31.tar.gz
sonarqube-7076d0b558fee983cbb078f2ce3eedca3ab4bf31.zip
Fix display of review commands on 'global' violations
Diffstat (limited to 'sonar-server')
-rw-r--r--sonar-server/src/main/webapp/WEB-INF/app/views/resource/index.html.erb2
1 files changed, 1 insertions, 1 deletions
diff --git a/sonar-server/src/main/webapp/WEB-INF/app/views/resource/index.html.erb b/sonar-server/src/main/webapp/WEB-INF/app/views/resource/index.html.erb
index 297f14023b7..1f452a265e9 100644
--- a/sonar-server/src/main/webapp/WEB-INF/app/views/resource/index.html.erb
+++ b/sonar-server/src/main/webapp/WEB-INF/app/views/resource/index.html.erb
@@ -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>