diff options
author | Simon Brandhof <simon.brandhof@gmail.com> | 2013-02-06 19:52:27 +0100 |
---|---|---|
committer | Simon Brandhof <simon.brandhof@gmail.com> | 2013-02-06 19:52:27 +0100 |
commit | 4f6ace64b5a7d38a66eb9c4c7a7fb0b7a7005750 (patch) | |
tree | 4025f0a7e8043989d107a83c02ab13e4636c9af5 | |
parent | 1b2caf15c02f15329d5f643bee106d1363f2234f (diff) | |
download | sonarqube-4f6ace64b5a7d38a66eb9c4c7a7fb0b7a7005750.tar.gz sonarqube-4f6ace64b5a7d38a66eb9c4c7a7fb0b7a7005750.zip |
SONAR-2501 fix alternate colors of rows
-rw-r--r-- | sonar-server/src/main/webapp/WEB-INF/app/views/test/_testcase_working_view.html.erb | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sonar-server/src/main/webapp/WEB-INF/app/views/test/_testcase_working_view.html.erb b/sonar-server/src/main/webapp/WEB-INF/app/views/test/_testcase_working_view.html.erb index c44b7702903..f3a2f968311 100644 --- a/sonar-server/src/main/webapp/WEB-INF/app/views/test/_testcase_working_view.html.erb +++ b/sonar-server/src/main/webapp/WEB-INF/app/views/test/_testcase_working_view.html.erb @@ -12,7 +12,9 @@ </tr> </thead> <tbody> - <% @test_case.coverageBlocks.sort_by{|cover| cover.testable.component.name}.each do |cover| %> + <% @test_case.coverageBlocks.sort_by{|cover| cover.testable.component.name}.each do |cover| + reset_cycle + %> <tr class="<%= cycle("even", "odd") -%>"> <td> <a href="<%= ApplicationController.root_context -%>/resource/index/<%= cover.testable.component.key -%>?display_title=true&tab=coverage&coverage_filter=lines_covered_per_test&test_case_filter=<%= @test -%>" |