aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsimonbrandhof <simon.brandhof@gmail.com>2011-12-07 21:59:15 +0100
committersimonbrandhof <simon.brandhof@gmail.com>2011-12-07 21:59:15 +0100
commitad11e475db01f6e1dd6832e7c2af4a287ae3d465 (patch)
tree0ae957c4e5546011eee2a359738f191bcd891bd0
parent14a1f07edeab1f1fca1785679c9f2d15bc24c76e (diff)
downloadsonarqube-ad11e475db01f6e1dd6832e7c2af4a287ae3d465.tar.gz
sonarqube-ad11e475db01f6e1dd6832e7c2af4a287ae3d465.zip
SONAR-3046 remove the links on the severity icons
-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 0674eb1dc51..961f30a349a 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
@@ -79,12 +79,12 @@
%>
<tr class="<%= cycle 'even', 'odd', :name => ("hotspot_most_violated_rules-#{widget.id}-#{severity}") -%>">
<td class="thin">
- <a href="<%= url_for(:controller => 'drilldown', :action => 'violations', :id => @resource.key, :severity => m.severity) -%>">
- <%= image_tag('priority/' + m.severity + '.png') -%>
- </a>
+ <%= image_tag('priority/' + m.severity + '.png') -%>
</td>
<td>
- <a href="<%= url_for(:controller => 'drilldown', :action => 'violations', :id => @resource.key, :rule => rule.key, :rule_sev => m.severity, :period => dashboard_configuration.period_index) -%>"><%= rule.name -%></a>
+ <a href="<%= url_for(:controller => 'drilldown', :action => 'violations', :id => @resource.key, :rule => rule.key, :rule_sev => m.severity, :period => dashboard_configuration.period_index) -%>">
+ <%= h rule.name -%>
+ </a>
</td>
<td class="right">
<%= dashboard_configuration.selected_period? ? format_variation(m) : format_measure(m) -%>