]> source.dussan.org Git - sonarqube.git/commitdiff
Add HTML classe
authorJulien Lancelot <julien.lancelot@gmail.com>
Mon, 25 Feb 2013 13:08:01 +0000 (14:08 +0100)
committerJulien Lancelot <julien.lancelot@gmail.com>
Mon, 25 Feb 2013 13:08:01 +0000 (14:08 +0100)
sonar-server/src/main/webapp/WEB-INF/app/views/resource/_index.html.erb

index 185a8f16daf72ad9912f36d709c57412ef601dfb..a84a963d0e66f6be946000f1b165d147d18576c4 100644 (file)
                 <td class="ind <%= hits_status -%>" title="<%= message('coverage_viewer.line_covered_by_x_tests', {:params => line.covered_lines.to_s}) if line.covered_lines > 0 -%>">
                   <% if line.covered_lines > 0 %>
                     <a href="<%= ApplicationController.root_context -%>/test/testable/<%= h @snapshot.resource.key -%>?line=<%= index+1 -%>"
-                       onclick="openAccordionItem(this.href, this); return false;"><%= line.covered_lines -%></a>
+                       class="sources-testable-link-<%= index+1 -%>" onclick="openAccordionItem(this.href, this); return false;"><%= line.covered_lines -%></a>
                   <% end %>
                 </td>
                 <td class="ind <%= conditions_status -%>">