diff options
author | simonbrandhof <simon.brandhof@gmail.com> | 2010-11-04 09:09:43 +0000 |
---|---|---|
committer | simonbrandhof <simon.brandhof@gmail.com> | 2010-11-04 09:09:43 +0000 |
commit | 0e7c1da6f8cf80084842ed1d31bc2788b216e009 (patch) | |
tree | 47e330bc29ffa6099b76ce868f000546f4455670 /sonar-server | |
parent | c25b4eb24bd326c72a187012ba03ca92187a5cf6 (diff) | |
download | sonarqube-0e7c1da6f8cf80084842ed1d31bc2788b216e009.tar.gz sonarqube-0e7c1da6f8cf80084842ed1d31bc2788b216e009.zip |
SONAR-1643 improve HTML of widget filtering by categories
Diffstat (limited to 'sonar-server')
-rw-r--r-- | sonar-server/src/main/webapp/WEB-INF/app/views/dashboard/_widget_definitions.html.erb | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sonar-server/src/main/webapp/WEB-INF/app/views/dashboard/_widget_definitions.html.erb b/sonar-server/src/main/webapp/WEB-INF/app/views/dashboard/_widget_definitions.html.erb index 6d330e40dba..3a34c98cb6d 100644 --- a/sonar-server/src/main/webapp/WEB-INF/app/views/dashboard/_widget_definitions.html.erb +++ b/sonar-server/src/main/webapp/WEB-INF/app/views/dashboard/_widget_definitions.html.erb @@ -14,5 +14,8 @@ <%= render :partial => 'dashboard/widget_definition', :locals => {:definition => definition, :dashboard_id => dashboard_id, :resource_id => resource_id} %> <% if index%4==3 %></tr><% end %> <% end %> + <% for i in 0..(4-(@widget_definitions.size%4)) %> + <td> </td> + <% end %> <% if @widget_definitions.size%4<3 %></tr><% end %> </table> |