aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
authorStas Vilchik <vilchiks@gmail.com>2014-07-21 17:11:38 +0200
committerStas Vilchik <vilchiks@gmail.com>2014-07-21 17:11:47 +0200
commit123c84f35b97f4c362f382fc2299696620300eef (patch)
treea6713616241d9115189606c214fdb74e25bfe3f1 /plugins
parent409f06d2f2178256ce913c5a16881cf29fec7e4e (diff)
downloadsonarqube-123c84f35b97f4c362f382fc2299696620300eef.tar.gz
sonarqube-123c84f35b97f4c362f382fc2299696620300eef.zip
Fix the sqale rating display around the application
Diffstat (limited to 'plugins')
-rw-r--r--plugins/sonar-core-plugin/src/main/resources/org/sonar/plugins/core/widgets/debt_overview.erb4
1 files changed, 1 insertions, 3 deletions
diff --git a/plugins/sonar-core-plugin/src/main/resources/org/sonar/plugins/core/widgets/debt_overview.erb b/plugins/sonar-core-plugin/src/main/resources/org/sonar/plugins/core/widgets/debt_overview.erb
index d17b3d12519..a945f084724 100644
--- a/plugins/sonar-core-plugin/src/main/resources/org/sonar/plugins/core/widgets/debt_overview.erb
+++ b/plugins/sonar-core-plugin/src/main/resources/org/sonar/plugins/core/widgets/debt_overview.erb
@@ -10,9 +10,7 @@
<div class="widget-measure widget-measure-main">
<span class="widget-label"><%= message('metric.sqale_rating.name') -%></span>
<span class="nowrap">
- <a href="<%= url_for_drilldown('sqale_rating') -%>" class="widget-link">
- <span class="rating rating-<%= sqale_rating.text_value -%>"><%= sqale_rating.text_value -%></span>
- </a>
+ <%= format_measure(sqale_rating, :url => url_for_drilldown(sqale_rating)) %>
<% unless dashboard_configuration.selected_period? %>
<%= trend_icon(sqale_rating) -%>
<% end %>