aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
authorJean-Baptiste Lievremont <jean-baptiste.lievremont@sonarsource.com>2014-02-04 17:43:38 +0100
committerJean-Baptiste Lievremont <jean-baptiste.lievremont@sonarsource.com>2014-02-04 17:45:32 +0100
commitd056f312906a8504eb6a83c3f0dffe13c5a3d8c9 (patch)
treec728820ad6eb32ff6c9f55667e71d56d694a73e1 /plugins
parent7db29fdd2081290ae1a8bafdc475d30e3692adbb (diff)
downloadsonarqube-d056f312906a8504eb6a83c3f0dffe13c5a3d8c9.tar.gz
sonarqube-d056f312906a8504eb6a83c3f0dffe13c5a3d8c9.zip
SONAR-4878 Unify UX of links on "most violated rules" widget
Diffstat (limited to 'plugins')
-rw-r--r--plugins/sonar-core-plugin/src/main/resources/org/sonar/plugins/core/widgets/hotspots/hotspot_most_violated_rules.html.erb8
1 files changed, 4 insertions, 4 deletions
diff --git a/plugins/sonar-core-plugin/src/main/resources/org/sonar/plugins/core/widgets/hotspots/hotspot_most_violated_rules.html.erb b/plugins/sonar-core-plugin/src/main/resources/org/sonar/plugins/core/widgets/hotspots/hotspot_most_violated_rules.html.erb
index 45e48cbd8b1..145d39e37cd 100644
--- a/plugins/sonar-core-plugin/src/main/resources/org/sonar/plugins/core/widgets/hotspots/hotspot_most_violated_rules.html.erb
+++ b/plugins/sonar-core-plugin/src/main/resources/org/sonar/plugins/core/widgets/hotspots/hotspot_most_violated_rules.html.erb
@@ -97,12 +97,12 @@
<%= image_tag('priority/' + m.severity + '.png') -%>
</td>
<td>
- <a href="<%= url_for(:controller => 'drilldown', :action => 'issues', :id => @resource.key, :rule => rule.key, :rule_sev => m.severity, :period => dashboard_configuration.period_index) -%>">
- <%= h rule.name -%>
- </a>
+ <%= h rule.name -%>
</td>
<td class="right nowrap">
- <%= dashboard_configuration.selected_period? ? format_variation(m) : format_measure(m) -%>
+ <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) -%>">
+ <%= dashboard_configuration.selected_period? ? format_variation(m) : format_measure(m) -%>
+ </a>
</td>
<td class="barchart">
<div class="barchart" style="width: <%= (value*100/max_value).round.to_i -%>%">