diff options
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> |