]> source.dussan.org Git - sonarqube.git/commitdiff
SONAR-4878 Add marker class on links for ITs
authorJean-Baptiste Lievremont <jean-baptiste.lievremont@sonarsource.com>
Wed, 5 Feb 2014 09:13:15 +0000 (10:13 +0100)
committerJean-Baptiste Lievremont <jean-baptiste.lievremont@sonarsource.com>
Wed, 5 Feb 2014 09:13:22 +0000 (10:13 +0100)
plugins/sonar-core-plugin/src/main/resources/org/sonar/plugins/core/widgets/hotspots/hotspot_most_violated_rules.html.erb

index 145d39e37cd74d627b885a89e459a7b71773369f..5327406508a29c9cf60126840e646cb9c64d9005 100644 (file)
                 <%= h rule.name -%>
               </td>
               <td class="right nowrap">
-                <a class="nolink" href="<%= url_for(:controller => 'drilldown', :action => 'issues', :id => @resource.key, :rule => rule.key, :rule_sev => m.severity, :period => dashboard_configuration.period_index) -%>">
+                <a class="nolink <%= widget.key %>_<%= rule.key.parameterize %>" href="<%= url_for(:controller => 'drilldown', :action => 'issues', :id => @resource.key, :rule => rule.key, :rule_sev => m.severity, :period => dashboard_configuration.period_index) -%>">
                   <%= dashboard_configuration.selected_period? ? format_variation(m) : format_measure(m) -%>
                 </a>
               </td>